Answers for "how to give line height in css"

CSS
2

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;
}
Posted by: Guest on March-18-2020

Code answers related to "how to give line height in css"

Browse Popular Code Answers by Language