Skip to content

Instantly share code, notes, and snippets.

@brito
Created January 26, 2013 03:53
Show Gist options
  • Save brito/4640066 to your computer and use it in GitHub Desktop.
Save brito/4640066 to your computer and use it in GitHub Desktop.
CCS: Cool Code School [Pilot-S01E01]
/* CCS: Cool Code School [Pilot-S01E01] */
/* FIXIT: override by default on server/cache configuration */
@charset 'UTF-8';
/* color is the first thing to change */
* { color:white /* text and border */;
background:black } /* last semicolon not required, brace is required. */
/* now something fancy */
* { background:hsla(210, 100%, 50%, 1) }
/* Grid */
* { border:1em solid }
/* root pseudo */
html:before { content:'before html'; background:green }
html:after { content:'after html'; background:red }
body:before { content:'before body'; background:orange }
body:after { content:'after body'; background:blue }
<!-- content to be placed inside <body>…</body> -->
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment