CSS

HomePage | RecentChanges | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 1,39c1
See also: CascadingStyleSheets

Grab only p's that are nested *directly* inside of div's
div > p { /* Some CSS */ }




<p class="some-class">Stuff</p>
<p id="some-id">Bother</p>
is styled as...
.some-class { /* Some CSS */ }
#some-id { /* Some CSS */ }



pseudo-class selectors with colon

a:hover { ... }
p:first-child { ... } /* the <p> that is the first child of its parent element */
p:nth-child(3) { ...} /* "" third "" */




Circles!

div {
display: inline-block;
margin-left: 5px;
height: 100px;
width: 100px;
border-radius: 100%;
border: 2px solid black;
}





CustomFonts

http://cssdeck.com/labs/pure-css-osx-terminal
https://github.com/wendysmoak/wiki/wiki/CSS

https://github.com/wendysmoak/wiki/wiki/CSS

HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited December 21, 2019 12:27 pm by 78-93-98-198.dsl.wavetel.us (diff)
Search: