Always wanted to know what awesome things you can do with CSS3? Well, here is one! In this 3 minute tutorial, I will show you how you can make text look like it's laying on top of your page.
You can see the result live here: http://www.rvervuurt.com/css_exp/
As you can see, you can select and even copy/paste the text, although copy/pasting won't copy the shadows.
As promised the bit of CSS I used for the final result in the movie:
Enjoy playing around with it and see you next time!
Portfolio: http://www.rvervuurt.com
----------------------------------------
text-shadow: 1px 1px 0px #ccc, 1px 2px 0px #c9c9c9, 1px 3px 0px #bbb, 1px 4px 0px #b9b9b9, 1px 5px 0px #aaa, 1px 6px 0px #9f9f9f, 1px 7px 0px #9a9a9a, 1px 8px 0px #989898, 0px 9px 1px rgba(0,0,0,.14), 0px 0px 5px rgba(0,0,0,.14), 0px 5px 5px rgba(0,0,0,.3), 0px 8px 8px rgba(0,0,0,.24), 0px 10px 7px rgba(0,0,0,.3), 0px 20px 10px rgba(0,0,0,.2), 0px 30px 20px rgba(0,0,0,.4);
Link to this comment:
All Comments (1)