background preloader


Facebook Twitter

9 Valuable CSS Tricks for Responsive Design. CSS also known as Cascading Style Sheets is now an integral part of web development as it allows developers to alter the elements in any web page, which were once impossible.

9 Valuable CSS Tricks for Responsive Design

If you know the correct source codes, you can easily make changes in text spacing, underline links and a lot of other stuff, which was non-changeable earlier. Also, responsive designing is getting popular with every passing day thanks to the ever growing popularity of mobile browsing. Today, in this article we will be discussing some of the most valuable CSS tricks that surely plays a significant part in the development and designing of responsive designs. As a developer, you must know that designing a responsive website is not difficult but maintaining it is definitely not an easy task. Developers must know the art of maintaining a balance in the layout of website and make sure that none of the elements or links are broken. 1.

Below is the simple code to remove the underline: Advertisement 2. 3. Pure. CSS3 Generator - By Eric Hoffman & Peter Funk. Layer Styles. Awesome Overlays with CSS3's Border-Image Property - ZURB Playground -

What's the big deal? These overlays use a number of new CSS properties, some of which are simple like border-radius and using RGBa colors. The trick with these overlays is the gradient border, going form a lighter to darker orange as you go from top to bottom. To create that effect we used to the border-image property, which is a tricky little addition to CSS. How to use border-image The border-image property is tricky in the way it takes a single image and turns it into a complete object border for any sized element. What can potentially screw things up is that it takes the center section and stretches it across your entire object. This is a sketch of how the browser cuts up your image into the border-image elements... On CSS preprocessors.

Lately there has been a rise in the usage of CSS preprocessors such as LESS and SASS, which makes sense given the simultaneous increase of CSS3 usage.

On CSS preprocessors

I’ve frequently argued with fellow front-end web developers about whether they should be used or not and I decided to finally put my thoughts in writing. To start, I can fully understand the advantage of using such preprocessors over vanilla CSS3. I hate listing all the vendor prefixes, and not being able to use variables, mixins or nesting just like the next web developer.

All this syntactic sugar can simplify your workflow by a great deal and make writing CSS3 incredibly fun. Visualizing WebKit’s hardware acceleration. February 8th, 2011 Want to know which parts of your web page are hardware accelerated on Safari or Mobile Safari?

Visualizing WebKit’s hardware acceleration

It’s easy to find out. Just start Safari with… $ CA_COLOR_OPAQUE=1 /Applications/ ..and all hardware-accelerated layers will show up in red. Same goes for Mobile Safari, in the iOS Simulator: $ CA_COLOR_OPAQUE=1 /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator Try surfing over to HTML5 Mobile Pro, and see the Core Animation layers in all their red-tinted glory. You can mess around even more with the various Core Animation debugging flags. The Font-Face Rule and Useful Web Font Tricks - Smashing Magazine. Advertisement The possibility of embedding any font you like into websites via @font-face is an additional stylistic device which promises to abolish the monotony of the usual system fonts.

The Font-Face Rule and Useful Web Font Tricks - Smashing Magazine

It surely would be all too easy if there was only one Web font format out there. Instead, there’s quite a variety, as you will get to know in this article. This quick introduction to @font-face will lead you towards a guide through the @font-face kit generator. Sass - Syntactically Awesome Stylesheets. Compass.

CompassApp: Compile Sass stylesheets easily without resorting to the command line. One of the biggest adoption hurdles to reaching the designer masses for Sass and Compass has been the intimidation level presented to designers when mentioning “the command line” … ooh, I just scared myself.

CompassApp: Compile Sass stylesheets easily without resorting to the command line

Stylus. Ultimate IE6 Cheatsheet: How To Fix 25+ Internet Explorer 6 Bugs. InShare33 The best strategy for dealing with Internet Explorer 6 is not to support it.

Ultimate IE6 Cheatsheet: How To Fix 25+ Internet Explorer 6 Bugs

Stop. Ok, I feel your frustration. Practical CSS Layout Tips, Tricks, & Techniques. The Web Standards Project’s (WaSP) Browser Upgrade Initiative (BUI), has spurred many a designer to move towards more standards compliant web design, using CSS rather than tables for layout to save user bandwidth while enhancing underlying semantics, accessibility, and reach.

Practical CSS Layout Tips, Tricks, & Techniques

“Tables are dead…”#section1 Several designers have taken Jeffrey Zeldman’s lead in posting tutorials that have helped us get over the initial hump of table-less design. The first efforts have focused on creating two or more columns using CSS positioning instead of tables, thus allowing for a (complete) separation of structure from presentation. These broader techniques have been documented and archived at Eric Costello’s glish and Rob Chandanais’ Blue Robot. Others have chimed in, including Owen Briggs’ Box lesson and Tantek Çelik’s box model hack/workaround, detailed by Eric Costello, and explained by Tantek. “...Long live tables”#section2 The question#section3 One Step at a Time#section4 And the HTML: Spend your time innovating, not replicating. Css-boilerplate - Project Hosting on Google Code. Boilerplate: noun standardized pieces of text for use as clauses in contracts or as part of a computer program.

css-boilerplate - Project Hosting on Google Code

As one of the original authors of Blueprint CSS I've decided to re-factor my ideas into a stripped down framework which provides the bare essentials to begin any project. This framework will be lite and strive not to suggest un-semantic naming conventions. You're the designer and your craft is important. CSS playground.