In addition to the usual list of excellent tutorials (Codrops and CSS Tricks seemed especially busy), this week features a number of interesting new libraries. Tutorials Afshin Mehrabani shows how to use CSS fallback properties to provide support for missing CSS3 features in legacy browsers. Using CSS Fallback Properties for Better Cross-browser Compatibility Aurelio De […]
Using CSS Fallback Properties for Better Cross-browser Compatibility
By Afshin Mehrabani As you may know, Internet Explorer has supported something called conditional comments which allow you to include specific HTML or CSS based upon the result of a condition. Conditional comments in HTML first appeared in Microsoft’s Internet Explorer 5 browser but it’s been deprecated as of Internet Explorer 10. Internet Explorer has several problems with CSS, specially in […]
Solving the Problem of @font-face Inside Media Queries
By Aurelio De Rosa UPDATE: With certain constraints, a better approach than the one discussed in this article exists. Read the section at the end of this post for details. Mobile data connections frequently aren’t as good as desktop ones, therefore the download time of custom fonts can take up to several seconds. A good […]
CSS Spheres
By Donovan Hutchinson Recently I’ve talked about creating CSS triangles, which used border-radius to create the angled shapes. Now let’s try spheres. Flat design There are two ways we could approach making spheres with CSS. One is to create an actual 3D sphere using lots of elements. There are some beautiful examples of these. A potential downside though […]
Best of JavaScript, HTML & CSS - Week of June 24, 2013
As is usually the case, there are a ton of great tutorials and new libraries to talk about this week. My introduction, on the other hand, will be brief as I write this sitting beneath the Pitons on St. Lucia (notice I didn’t say sunny). Enjoy! Tutorials Joshua Clanton explains how you call and apply […]
Building a JavaScript Library with Grunt.js
By Mária Jurčovičová A new release of a typical, non-trivial JavaScript project needs to run unit tests, concatenate all source files into one file and minify the result. Some of them also use code generators, coding style validators or other build time tools. Grunt.js is an open source tool that is able to help you […]
Invoking JavaScript Functions With ‘call’ and ‘apply’
By Joshua Clanton In a prior post on my blog, I talked about some of the implications of functions being first-class citizens in JavaScript. Here is a further implication to consider: If functions are objects and objects can have methods, then functions can have methods. In fact, JavaScript functions come with several methods built into Function.prototype. Call First […]
- 1
- 2