PHP - Membuat Button Dengan HTML Dan CSS
Membuat Button Dengan HTML Dan CSS
<style type="text/css">
.button {
background-color: #4CAF50; /* Green */
border: none;
color: blue;
padding: 8px 16px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
margin: 4px 2px;
transition-duration: 0.4s;
cursor: pointer;
}
.button2 {
background-color: #008CBA;
color: white;
}
.button2:hover {
background-color: white;
color: black;
border: 2px solid #008CBA;
}
</style>
<button style="border-radius: 8px;margin-top: 10%;" class="button button2">Lanjut Baca</button>
Referensi : https://www.w3schools.com/css/css3_buttons.asp
PHP - Membuat Button Dengan HTML Dan CSS
Reviewed by Leo
on
02:09
Rating:
No comments