CSS Beginner (not tutorial)
- aldhaneka

- Jun 30, 2020
- 1 min read
Updated: Jul 4, 2020
1. Text color
A.
<style>
.green-text {
color: green;
}
</style>
<p class="green-text">AKU</p>☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟
B.
<p style="color: red;">AKU</p>☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟
2. Font size
<style>
.font-size-20px {
font-size: 20px;
}
</style>
<p class="font-size-20px">THIS IS 20PX</p>☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟☟
3. font
<style>
<link href="https://fonts.googleapis.com/css2?family=Lobster+Two:ital@1" rel="stylesheet" type="text/css">
.lobster-two-font {
font-family: Lobster-Two;
}
</style>
Males buat

Comments