Answers for "css button hover"

CSS
1

hover button scss

button {
	// normal css
    
	&:hover {
    	cursor: pointer;
      	background-color: cyan;
    }
}
Posted by: Guest on January-26-2021
0

html hover button

<button class="hoverme">hover me</button>

<style>
    
    .hoverme{
        background-color: cyan;
        border: none;
        height: 100px;
        width: 200px;
    }
    
    .hoverme:hover{
        background-color: blue;
        opacity: 0.6;
    }
    
</style>
Posted by: Guest on July-12-2021

Browse Popular Code Answers by Language