Techoverload !
Top 3 Hover effect download button for blogger and WordPress
Some most use full and popular html & Css buttons Here :
Details :
To create a button with a background color change on hover, you can use the :hover
pseudo-class in CSS.
HTML:
<button class="download-btn">Download</button>
CSS:
.download-btn {
background-color: blue;
color: white;
border: none;
padding: 8px 16px;
font-size: 16px;
cursor: pointer;
}
.download-btn:hover {
background-color: green;
}
- Button with an underline on hover
To create a button with an underline on hover, you can use the :hover
pseudo-class and the text-decoration
property in CSS.
Here's an example of a button with an underline on hover:
HTML:
<button class="download-btn">Download</button>
CSS:
.download-btn {
background-color: transparent;
color: blue;
border: none;
font-size: 16px;
cursor: pointer;
text-decoration: none;
}
.download-btn:hover {
text-decoration: underline;
}
- Button with a slide-down effect on hover
To create a button with a slide-down effect on hover, you can use the :hover
pseudo-class and the transform
property in CSS.
Here's an example of a button with a slide-down effect on hover:
HTML:
<button class="download-btn">Download</button>
CSS:
.download-btn {
background-color: blue;
color: white;
border: none;
padding: 8px 16px;
font-size: 16px;
cursor: pointer;
transition: transform 0.2s;
}
.download-btn:hover {
transform: translateY(4px);
}
Note: The transition
property is used to add a smooth transition effect when the button is hovered over.
For more see my channel "Techoverload"
Please Subscribe My Youtube Channel Techoverload : https://bit.ly/3GtRSmU
For any Inquiry Contact Me : (03253260029) Its My Whatsapp.
☝Subscribe for giveaways☝ |
☝Sign up for giveaways☝ Read Please >>> Sign up And Subscribe My channel For 3 domains [.tk .ga .ml] |
0 Comments