Archive for January, 2008
What is an CSS Attribute Selector?
CSS provides a way to style elements based specifically on attributes of the link, rather than the type of element alone. For example, you already know that you can style a header element:
h1 { color: blue; }
But you can actually get much more specific and style only header elements that [...]
Reader Sansan generously worked up my little GridControl idea into a javascript snippet that was very simple to make into a bookmarklet.
Just drag the link button below up into your bookmark bar, and then click to activate on any webpage. Pretty sweet! Click once to turn on the grid, click again to turn it [...]
Designing by grid is as old as design itself.
Grids are a fundamental concept to design that transcend trends. Long after the shiny, sans-serify, reflective shadows of web 2.0 are gone, grids will still be here. When we access digital media through implants in our brain and see the internet through screens that appear right in [...]
Wow.
That sums up my reaction to all the responses from this article. You guys really had something to say on this subject!
As of Wednesday evening, there have been 430 votes on the poll and a whopping 123 comments on the post itself. That’s gotta be some kinda record around here =)
And it’s Dreamweaver by a [...]
Seasonal CSS
I enjoyed this idea by John Leschinski over on Blogging Tips on how to use a little PHP and CSS to make “seasonal CSS“. You simply spit out the date right inside the class name of the body tag:
<BODY class=”date<?php echo date(”md”); ?>”>
Then you can write CSS like:
.date1225 { background: url(images/christmastrees.png); }
Instead [...]
Thank you for visiting CSS-Tricks! I'm glad you found an article useful enough to print out! Remember to visit css-tricks.com often for more fresh content.