Created
April 27, 2010 13:53
-
-
Save joecritch/380744 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* A few random ideas I've just had. Might not actually work. */ | |
/* You know the CURRENT situation (overriding the first one because it's often not applicable)... */ | |
.exampleList > li { margin-left: 100px; } | |
.exampleList > li:first-child { margin-left: 0; } | |
/* With a similar level of browser support, this could be achieved by ...*/ | |
.exampleList > li + li { margin-left: 100px; } | |
/* Or how about negative margins on the parent? */ | |
.exampleList { margin-left: -100px; } | |
.exampleList > li { margin-left: 100px; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment