How to Create Menu Button ?
How to Create Menu Button ?
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Menu</title>
<style>
.colorful-button {
display: inline-block;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
text-decoration: none; /* Remove default underline from links */
}
.blue-button {
background-color: #3498db;
}
.green-button {
background-color: #2ecc71;
}
.orange-button {
background-color: #e67e22;
}
.purple-button {
background-color: #9b59b6;
}
.colorful-button:hover {
background-color: #555; /* Darken the color on hover */
}
</style>
</head>
<body>
<a href="https://example.com" class="colorful-button blue-button">Home</a>
<a href="https://example.com" class="colorful-button green-button">Gallery</a>
<a href="https://example.com" class="colorful-button orange-button">About</a>
<a href="https://example.com" class="colorful-button purple-button">Contact</a>
</body>
Comments
Post a Comment
Thanks for your Comments.