Skip to content

Instantly share code, notes, and snippets.

@GeorgeTzellis
Created January 19, 2015 16:21
Show Gist options
  • Save GeorgeTzellis/74771664c6e7d5f381b4 to your computer and use it in GitHub Desktop.
Save GeorgeTzellis/74771664c6e7d5f381b4 to your computer and use it in GitHub Desktop.
Inline references
/* Inline references */
div {
position:relative;
width: 200px;
margin-left: 40px;
background: green;
}
span {
position: absolute;
right: -50px;
width: 50px;
background: red;
}
<div>
This is some text to showcase the clipping going on.
It doesn't really matter<span>434 This is a longitudinal coordinate</span> what it says in<span>This is yet another longitudinal coordinate</span> here.</div>
{"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