Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged html5



« Prev 1 Next »
Aligning a label with a checkbox can be tricky. Here is the HTML and CSS I used to achieve it.
0 1001 posted 7 years ago by mattvbiggs
Having a handle for groups of options allows script driven dynamic effects to manage changes of presentation with in the select without having to refresh or use other inefficient methods of updating the display.
0 788 posted 10 years ago by COBOLdinosaur
The first thing you might notice is that I am not using nested lists to layout the menu. That is an old XHTML layout technique. I am using the more semantically correct HTML5 <nav> tag. Menus are not lists, they are navigation so using the more moder...
0 953 posted 10 years ago by COBOLdinosaur
Each image is positioned, dimensioned, and repeated according to the comma separated values in the other background properties. The images in the list are layered front to back in the same order they are listed in the rule declaration. If a backgroun...
0 864 posted 10 years ago by COBOLdinosaur
In modern browsers select options can now be style using most css properties. Of course, IE is still behind but it does support some styling as well. There are a lot more options on the site.
0 682 posted 11 years ago by COBOLdinosaur
Using an image background for a photo allows all kinds of framing possibilities
0 566 posted 11 years ago by COBOLdinosaur
HTML5 CSS Reset
0 812 posted 11 years ago by mortu
/* html5doctor.com Reset Stylesheet v1.6.1 Last Updated: 2010-09-17 Author: Richard Clark - http://richclarkdesign.com Twitter: @rich_clark */
0 722 posted 11 years ago by lingokid
0 523 posted 12 years ago by paul0078
Just came across pure css3 soothing clouds, looks awesome, checkout!
0 667 posted 12 years ago by jimmy101
Show only non-printable area on web page but print only the printable areas
0 727 posted 12 years ago by duzenz
defining a printable area from a html web page. Making only one place printable
0 1065 posted 12 years ago by duzenz
A compiled version of essential styles as a nice blue print for a new project. Toolbox: http://www.css-tricks.com CSS Reset: http://meyerweb.com/eric/tools/css/reset/
0 491 posted 12 years ago by thewickedchemist
Trimmed and personalised version of Eric Meyer's Reset CSS.
0 863 posted 12 years ago by Huskie
This is a simple trick that allows you to design the html5 search input like another input.
0 508 posted 12 years ago by fabricelejeune
Updated to version 2.0 released January 2011. See: http://meyerweb.com/eric/tools/css/reset/
2 754 posted 13 years ago by SevenLayersDesign
This is just a super simple setup for the new HTML5 elements. If you're not using a framework or a reset, then you can paste this into your stylesheet so the new elements will behave as expected.
2 624 posted 13 years ago by rewdy
Removed depreciated elements, added Firefox button dotted line removal and fixed a few other styling issues. Compressed version in the link above.
1 862 posted 13 years ago by vagrantradio
Plenty of you will have used Eric Meyer’s css reset before now. It is included in many frameworks and so on, like 960.gs. This is a revamped version of that reset, that brings it into the present with full support for html5. It sets all the new str...
1 699 posted 13 years ago by paul66
0 560 posted 13 years ago by dre1080
my HTML 5 css reset
1 844 posted 13 years ago by Ashung
Reworked CSS reset I use in projects. *Updated, added input type font inheritance and removal of firefox button outline, removed depreciated items; center, font, applet, big, s, u, tt, strike, menu & acronym. Uncompressed version in the link above.
3 1229 posted 13 years ago by vagrantradio
I tried a menu bar with html5 and css3. Please give me some advice for more advance.
1 762 posted 13 years ago by jamepaul
All credit to Richard Clarke, code taken from HTML 5 Doctor. Posted here for quick access from TextMate.
6 1306 posted 14 years ago by mrjohnsly
« Prev 1 Next »