Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

line-height css

.green {
  line-height: 1.1;
  border: solid limegreen;
}

.red {
  line-height: 1.1em;
  border: solid red;
}

h1 {
  font-size: 30px;
}

.box {
  width: 18em;
  display: inline-block;
  vertical-align: top;
  font-size: 15px;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #css
ADD COMMENT
Topic
Name
2+8 =