Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

css change color on hover

<!--
To change the color when hovering in CSS,
you will use the CSS selector called :hover

Example:
-->

<style>
button:hover {
        background-color: darkred;
      }
</style>
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #css #change #color #hover
ADD COMMENT
Topic
Name
5+9 =