CSS Property Value How to - font-size: 350%;








Question

We would like to know how to font-size: 350%;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
html {<!--from w  ww  .  jav a 2 s . c  om-->
  margin: 0;
  pading: 0;
}

.wrapper {
  width: 90%;
  max-width: 1500px;
  margin-top: 2%;
  margin-left: auto;
  margin-right: auto;
}

header h1 {
  font-size: 350%;
  text-align: center;
  background-color: #999;
}

nav ul li {
  background-color: #CCC;
  display: inline-block;
  width: 20%;
  font-size: 200%;
}

nav {
  text-align: center;
}
</style>
</head>
<body>
  <header role="banner">
    <h1>
      HTML5<br> CSS3
    </h1>
    <nav class="clearfix">
      <ul>
        <li><a href="">HOME</a></li>
        <li><a href="">HTML</a></li>
        <li><a href="">CSS</a></li>
      </ul>
    </nav>
  </header>
</body>
</html>

The code above is rendered as follows: