Created
July 31, 2015 16:44
-
-
Save mattgreenfield/5724b104c5bf075ea73c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<p data-text="gfdgkhdsfgkljenbdek;jbnerbjeargjhaerjnadbknjdfbknjdfkjenrghkjnbkdjfngkjgeljrbnekrjbnalerghidzg;kjlhsdgfmn,.dbf.com">gfdgkhdsfgkljenbdek;jbnerbjeargjhaerjnadbknjdfbknjdfkjenrghkjnbkdjfngkjgeljrbnekrjbnalerghidzg;kjlhsdgfmn,.dbf.com</p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
div { | |
width: 200px; | |
border: 1px solid black; | |
position: absolute; | |
} | |
p { | |
width: 50%; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
p:after{ | |
content: attr(data-text); | |
display: block; | |
direction: rtl; | |
margin-left: 50%; | |
position: absolute; | |
right: 0; | |
top: 1em; | |
width: 50%; | |
overflow: hidden; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
width: 200px; | |
border: 1px solid black; | |
position: absolute; | |
} | |
p { | |
width: 50%; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
p:after { | |
content: attr(data-text); | |
display: block; | |
direction: rtl; | |
margin-left: 50%; | |
position: absolute; | |
right: 0; | |
top: 1em; | |
width: 50%; | |
overflow: hidden; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<p data-text="gfdgkhdsfgkljenbdek;jbnerbjeargjhaerjnadbknjdfbknjdfkjenrghkjnbkdjfngkjgeljrbnekrjbnalerghidzg;kjlhsdgfmn,.dbf.com">gfdgkhdsfgkljenbdek;jbnerbjeargjhaerjnadbknjdfbknjdfkjenrghkjnbkdjfngkjgeljrbnekrjbnalerghidzg;kjlhsdgfmn,.dbf.com</p> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment