Skip to content

Instantly share code, notes, and snippets.

View sodhisaab's full-sized avatar
🎯
Focusing

Prince Sodhi sodhisaab

🎯
Focusing
  • Vienna, Austria
View GitHub Profile
$font-size: 26px;
$line-height: 1.4;
$lines-to-show: 3;
h2 {
display: block; /* Fallback for non-webkit */
display: -webkit-box;
max-width: 400px;
height: $font-size * $line-height * $lines-to-show; /* Fallback for non-webkit */
margin: 0 auto;