Nov
23
2009
ilz

I showed in a previous post how to use text-shadow with CSS3. Now it’s time to move on to something that’s just about as exciting, using Box-Shadow with CSS3. Throw it on a div, on a table, on an image.. anything goes! Of course it doesn’t work in every browser, but then again not much I talk about on this site does!
Check out the demo to see some examples and then keep reading to find out how to use Box-Shadow.
View Demo
Continue reading
8 comments | tags: Box-Shadow, CSS, CSS3 | posted in CSS, Code Snippets, Web Design
Nov
16
2009
ilz

Remember the old days when the only way to create a shadow on text was to make it an image? That’s good for search engines..right? Oh sure, just use some image replacement and then the search engines can read it. Not so easy for text edits in the future. Or for changing the color of the text or the background behind the text.
Fastforward to CSS3. Now we can define a shadow behind live text on a website. Wiggity whaaat? That’s right, simply with some good old CSS. Of course you’ll need to use a real browser, as of any other cool CSS technique, but I won’t even begin to go into that topic. So why is this so great?
- Search engines can read the text
- Easily change the color of the text
- Easily change the color, size, or blur of the shadow
- Easily change the background color or image behind the text
- Your friends will be like totally impressed
An example of this is the title to every article on this lil website of mine. Do you see the shadow behind the title “Using Text-Shadow with CSS3“? If you don’t for the love of god.. DOWNLOAD FIREFOX! Check out the demo for some more examples of text-shadow created with CSS3, and then continue reading to learn how to write the CSS.
View Demo
Continue reading
1 comment | tags: CSS, CSS3, Text-Shadow | posted in CSS, Code Snippets
Oct
19
2009
ilz

Using an unordered list is a simple and easy to style method of creating a navigation bar. Now with CSS3 and round corners created by the browser, it’s even easier to make a nice and clean nav. I introduced CSS3’s border-radius in a previous post, located here.
Check out the example I created, and then keep reading to find out how to create the above nav with nothing more than some CSS.
View Demo
Continue reading
no comments | tags: CSS, CSS3 | posted in CSS, Tutorials, Web Design
Recent Comments