Skip to content

Instantly share code, notes, and snippets.

@agriboz
Created November 9, 2012 13:59
Show Gist options
  • Save agriboz/4045778 to your computer and use it in GitHub Desktop.
Save agriboz/4045778 to your computer and use it in GitHub Desktop.
Css Secrets "Lea Verou" Tip 4 Another Example
p { margin: 0; padding: 0; }
div { background-image: linear-gradient(black 1px, transparent 1px);
background-origin: content-box; /* İçeriğin başladığı alan */
background-size: 100% 1.5em;
background-position: 0 -.2em;
font-size: 120%;
line-height: 1.5;
width: 500px;
height: 500px;
font-family: Comic Sans MS;
padding: 10px 20px;
}
<!-- More Css Secrets Tip 4 Another Example -->
<div>
<p>Let's try that thing</p>
<p>Let's try that thing</p>
<p>Let's try that thing</p>
<p>Let's try that thing</p>
</div>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment