I am working on developing a webpage that is specifically designed to work for resolutions of 800 x 600 pixels and higher. Any other resolutions will display the message "This website can only be accessed from desktops." Here is my approach using jQuery:
<script>
$(window).resize(function() {
if ($(window).width() < 960) {
window.location = "nodesktop.html";
} else {
window.location = "index.html";
}
});
</script>
However, I am wondering how I could achieve the same functionality using CSS3, HTML, or AngularJS.