Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to change color while hovering a button html

<!DOCTYPE html>
<html>

<head>
    <title>new</title>
    <style>
the orginal color of the button will be brown
        button {
            background-color: brown;
            font-size: 24px;
            height: 50px;
            width: 200px;
        }
but when hovering it it changes to blueviolet
        button:hover {
            background-color: blueviolet;
        }
    </style>
</head>

<body>
    <button>click me</button>
</body>

</html>
Comment

PREVIOUS NEXT
Code Example
Html :: ordered lists html 
Html :: a tag displays below img tag 
Html :: loading screen svg and css animation 
Html :: cards in html 
Html :: how to block futer date input 
Html :: how to make a list in html 
Html :: pdf to html converter 
Html :: add html to page chrome extension 
Html :: nav bar activate in jinja 
Html :: how to make a footer in html extend to the bottom 
Html :: html work with path 
Html :: HTML SVG Graphics 
Html :: fontawesome icons reference 
Html :: collapse bootstrap 
Html :: HTML <header element 
Html :: scrape beautifulsoup python html attribute value 
Html :: file input html 
Html :: bootstrap div inline cards 
Html :: htdocs 
Html :: horizontal line in table 
Html :: mobile navigation bar bootstrap 
Html :: fieldset margin 
Html :: site:www.javascriptcn.com como criar uma cal com letras e numeros 
Html :: include jquery if not included 
Html :: share to google plus html link 
Html :: a page with html cheat sheet 
Html :: image taggen docker 
Html :: bootstrap color a div 
Html :: html regex pattern 
Html :: a tag in html 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =