- Community Pick
So let's get started – no needless writing or boring descriptions, just clear, simple and easy to understand examples below. 12 of my favorite CSS3 tricks:
1.Rounded corners
Use it in your div, add background color, set your border and done.
Learn more:
http://www.css3.info/previ
http://css-tricks.com/snip
2.Box shadow:
Add a drop shadow to your div or image.
Learn more:
http://www.css3.info/previ
http://css-tricks.com/snip
3.Text shadow:
Add a shadow to your text. Nice when used for headlines on your website.
Learn more:
http://www.css3.info/previ
http://css-tricks.com/snip
4.Cool font:
Instead of using javascript and cufon (http://cufon.shoqolate.co
Learn more:
http://www.css3.info/previ
http://css-tricks.com/snip
5.Gradient:
Use a gradient in your div or body tag. Requires an image to use as the gradient.
Learn more:
http://css-tricks.com/css3
6.Opacity:
Simple trick to make your page elements transparent.
Learn more:
http://www.css3.info/previ
http://css-tricks.com/snip
7.RGBA:
Red, green, blue, alpha (transparency). It's fun to experiment with this technique.
Learn more:
http://www.css3.info/previ
8.Background size:
Resize your background with pure CSS. Opera 9.5, Safari 3 and Konqueror only.
Learn more:
http://www.css3.info/previ
9.Multiple backgrounds:
Use more than one background in a very easy to implement way. Safari 3 only.
Learn more:
http://www.css3.info/previ
http://css-tricks.com/snip
10.Text columns:
Instead making tables or using javascript, you can now define columns in your stylesheet.
Learn more:
http://www.css3.info/previ
http://css-tricks.com/snip
11.Image border:
Don't use boring 'border' property, make it fun with borders from an image.
Learn more:
http://www.css3.info/previ
12.Animations:
Believe it or not, you can animate elements with simple and short css code!
Learn more:
http://css-tricks.com/snip
Please note, these techniques are new. They can only be used in browsers that support CSS3 and will not work in older browsers.
Search the net for even more sophisticated techniques, tips and tricks for CSS3. This article just scratched the surface of CSS3 possibilities. It's a great tool for every day use if you are a web designer. And it's just plain fun to play with and experiment! I've seen some fantastic websites on the internet made with pure html/css3 (and images obviously). CSS3 is a huge step forward in web design.
Thanks for your time reading this and good luck.
Hope you find it useful :-)
LEARN CSS3:
http://www.css3.info/
http://designshack.co.uk/a
DESIGN WITH CSS3:
http://www.themeflash.com/
http://www.dzinepress.com/
by: mreuring on 2011-04-07 at 08:24:29ID: 25594