Skip to content

Instantly share code, notes, and snippets.

Forked from LeaVerou/dabblet.css
Created January 4, 2012 16:16
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Lined paper that follows the text (by Lea Verou)
* Lined paper that follows the text (by Lea Verou)
* This was just so awesome I had to fork it.
/* Just decorative */
padding: 20px;
/* The font. Try changing font-size and see how the lines
still follow the text */
font: italic 200%/1.5 Baskerville, "Palatino Linotype", serif;
/* The "paper" color */
background-color: hsl(24, 10%, 90%);
/* The lines */
background-image: linear-gradient(hsla(210, 50%, 30%, .5) 1px, transparent 1px);
/* This makes the lines follow the text.
First value could be whatever (as long as it's > 0),
second should be equal to line-height */
background-size: 100% 1.5em;
/* If you have padding, this makes the background
offset according to it */
background-origin: content-box;
Logistically data ethernet deviation inversion processor echo processor procedural femtosecond logistically interface analog services. Cascading connectivity, in or transponder scan element sequential transmission plasma normalizing capacitance reducer. Recursive plasma, hyperlinked supporting gigabyte, solution.
Development silicon partitioned patch hyperlinked echo broadband, bus cable. Read-only integer generator servicing, scalar coordinated audio. Video, distributed high debugged fragmentation hyperlinked pc sequential element resistor pulse capacitance. Floating-point bypass reducer recognition gigabyte developer potentiometer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment