Skip to content

Instantly share code, notes, and snippets.

@ktzanev
Last active March 12, 2017 14:16
Show Gist options
  • Save ktzanev/e586030952be736189e7 to your computer and use it in GitHub Desktop.
Save ktzanev/e586030952be736189e7 to your computer and use it in GitHub Desktop.
SPAN example (Dabblet)
body {
padding: 21px;
line-height: 300%;
}
span {
border: red 1px solid;
margin: 7px;
padding: 7px;
}
span span {
border: blue 1px solid;
margin: 3px;
padding: 3px;
}
em {
color: green;
}
<span>Un text dans un <em>span</em>
<span>
Un <em>span</em> dans un <em>span</em>.
</span>
<span>
Et un autre <em>span</em> au même niveau,
qui est très très très très très très très très longue !
</span>
</span>
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment