Bu derste yazı tipi boyutunun nasıl değiştirildiğini öğreneceksiniz.
Kursa 27.99 TL'ye kayıt olmak için TIKLAYINIZ.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Font Size</title>
<style>
html{
font-size: 20px;
}
.div1{
background:red;
height: 10rem;
}
.div2{
background:yellow;
height: 7.5em;
width: 10em;
}
.div3{
background: darkblue;
height: 2.5rem;
}
</style>
</head>
<body>
<div class="div1">
<div class="div2">
<div class="div3">
</div>
</div>
</div>
</body>
</html>