Search results for 2013 07 08 solving the problem of font face inside media queries

Solving the Problem of @font-face Inside Media Queries

by Aurelio De Rosa

…and use a conditional comment. Thus, the source of fonts.css would look like this: @fontface { font-family: “OctinSports”; src: url(“fonts/octinsports.eot”); src: url(“fonts/octinsports.eot?#iefix”) format(“embedded-opentype”), url(“fonts/octinsports.woff”) format(“woff”), url(“fonts/octinsports.ttf”) format(“truetype”), url(“fonts/octinsports.svg#OctinSports”) format(“svg”); font-weight:…

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

CSS for Beginners with Dreamweaver

by Brian Rinaldi

…of resources that can provide you more detail on these items if you are curious to learn more. Media Queries Going into great detail about media queries and how they…

Using Media Queries in JavaScript

by Krasimir Tsonev

= {}; var isMatchMediaSupported = !!(window && window.matchMedia) && !usePolyfill; if(isMatchMediaSupported) { var res = window.matchMedia(query); callback.apply(host, [res.matches,]); res.addListener(function(changed) { callback.apply(host, [changed.matches,]); }); } else { // ……

Picture showing a magazine layout with columns of different heights

CSS Regions Matter

by Brian Rinaldi

…may face when using CSS Regions, and talk about possible solutions to common Regions problems. CSS Regions Problems and Possible Solutions CSS regions have two prominent “problems” today: non-semantic presentational…

Creating Windows-8-like 3D animations with CSS3 and jQuery

by Brian Rinaldi

…/*icon fonts styles*/ .icon-font{ font-size:2em; } .big .icon-font{ float:left; } .lock-thumb .icon-font{ margin-left:25%; } /*styling the dashboard boxes*/ .weather-thumb {background:#F2854C;} .weather-thumb:hover {color:#F2854C;} .paint-thumb {background:#85A9C3;} .paint-thumb:hover {color:#85A9C3;} .cpanel-thumb {background:#83A8C3;} .cpanel-thumb:hover {color:#83A8C3;}…

LESS Tips and Tricks

by Brian Rinaldi

…// mixin content } Media Query in Variable Recent releases of LESS have the ability to store media queries in variables and use those variables inside @media rules. This is…

2013 – The Year in Web Development

by Brian Rinaldi

pushed so much further in 2013 helped bolster developer’s confidence in creating their own custom elements with a framework like AngularJS. 2013 was also another tumultuous year for mobile, as…

Building a JavaScript Library with Grunt.js

by Brian Rinaldi

…line interface should be installed globally and the task runner locally. A global command line interface ensures that the same Grunt commands are available in all directories. The task runner…

Doing More with Sass’ @each Control Directive

by Scott O'Hara

….txt-h1 { font-size: 50px; font-weight: 300; } h2, .txt-h2 { font-size: 42px; font-weight: 300; } h3, .txt-h3 { font-size: 34px; font-weight: 400; } h4, .txt-h4 { font-size: 26px; font-weight: 400;…