Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged html5
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Aligning a label with a checkbox can be tricky. Here is the HTML and CSS I used to achieve it.
0
4182
posted 9 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
1991
posted 12 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
3226
posted 12 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
3110
posted 13 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
2797
posted 13 years ago by COBOLdinosaur
Using an image background for a photo allows all kinds of framing possibilities
0
1574
posted 13 years ago by COBOLdinosaur
/* html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark */
0
1878
posted 13 years ago by lingokid
Just came across pure css3 soothing clouds, looks awesome, checkout!
0
2565
posted 14 years ago by jimmy101
Show only non-printable area on web page but print only the printable areas
0
2789
posted 14 years ago by duzenz
defining a printable area from a html web page. Making only one place printable
0
3103
posted 14 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
1334
posted 14 years ago by thewickedchemist
This is a simple trick that allows you to design the html5 search input like another input.
0
1284
posted 14 years ago by fabricelejeune
Updated to version 2.0 released January 2011.
See: http://meyerweb.com/eric/tools/css/reset/
2
1983
posted 15 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
1685
posted 15 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
2134
posted 15 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
1817
posted 15 years ago by paul66
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
2529
posted 15 years ago by vagrantradio
I tried a menu bar with html5 and css3. Please give me some advice for more advance.
1
1991
posted 15 years ago by jamepaul
All credit to Richard Clarke, code taken from HTML 5 Doctor. Posted here for quick access from TextMate.
6
4308
posted 16 years ago by mrjohnsly
« Prev 1 Next »