Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generated by SassMeister.com.
<div>日本語</div>
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// Bourbon (v4.0.2)
// Neat (v1.6.0)
// ----
@import "bourbon/bourbon";
@import "neat/neat";
body {
line-height: 1;
}
div {
@include hide-text();
@include size(2em);
background: tomato;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
line-height: 1;
}
div {
overflow: hidden;
height: 2em;
width: 2em;
background: tomato;
}
div:before {
content: "";
display: block;
width: 0;
height: 100%;
}
<div>日本語</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.