Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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
7+5 =