Search results for 2014 03 24 using media queries in javascript

Using Media Queries in JavaScript

by Krasimir Tsonev

use media queries in JavaScript. The Basics Many of you probably already know the basics of using media queries in CSS. First you create the media query and then every…

Break The Wrist And Walk Away: Responsive Design And Bootstrap 3

by Burke Holland

…some basic browser bugs. Note that in most modern browsers, normalize is almost unnecessary. That’s encouraging. Media Queries Let’s start by doing a brief examination of media queries. Media queries

Solving the Problem of @font-face Inside Media Queries

by Aurelio De Rosa

using the @font-face rule only for a specific range of media and screens using media queries. You might think that the best solution would be to apply the custom font…

CSS for Beginners with Dreamweaver

by Brian Rinaldi

they only support the media types like screen and print) from applying the styles nested within the media query. There’s a lot more to media queries such as using logical…

45 Useful JavaScript Tips, Tricks and Best Practices

by Saad Mousliki

awesome: Best Resources To Learn JavaScript Code Academy JavaScript tracks: Eloquent JavaScript by Marjin Haverbeke: Advanced JavaScript by John Resig: Conclusion I know that there are many…

Why you should limit JavaScript — and how to do it

mm by Table XI

much JavaScript by writing more JavaScript. Yet, we still need JavaScript Even with its costs, there are still good reasons to use Javascript: Traditional web apps limit you to two…

Picture showing a magazine layout with columns of different heights

CSS Regions Matter

by Brian Rinaldi

…by introducing empty elements into the article where he wants the ads to appear on small screens. And then, using media queries, he flowed the ads from the sidebar into…

2014 – What Web Developers Will Need to Know

by Brian Rinaldi

…provide a good user experience this isn’t enough. This is where using responsive JavaScript steps in, by making our JavaScript aware of the responsive state of the browser we can…

Best of JavaScript, HTML & CSS – 2013

by Brian Rinaldi

…7 and HTML5: problems, changes and new APIs Sean Voisen explains reactive programming concepts, how they’re beneficial and how they’re implemented in JavaScript using Bacon.js. Functional Reactive Programming in JavaScript

Replacing jQuery with Vanilla JavaScript

by Brian Rinaldi

so we also use the replace() function ( to accomplish this. Using the name of the target element’s ID we can retrieve a reference to that element using document.getElementById(). We…