Hover of button - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button hover

Description

Hover of button

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

.black<!-- w ww.  j a v  a 2  s .c o m-->
{
   background-color:rgba(26,26,26,255);
   opacity:0.7;
}
.btn-info
{
   background:rgba(26,26,26,255);
   border-color:rgba(26,26,26,255);
   opacity:0.7;
}
.btn-info:hover
{
   background-color:rgba(51,51,51,255);
   border-color:rgba(51,51,51,255);
   opacity:0.7;
}
.btn-info:focus
{
   background:rgba(26,26,26,255);
   border-color:rgba(26,26,26,255);
   opacity:0.7;
}
.btn-info:active
{
   background:rgba(26,26,26,255);
   border-color:rgba(26,26,26,255);
   opacity:0.7;
}
.black:hover, .btn-info:hover, .tile:hover .btn-info
{
   background-color:rgba(51,51,51,255);
   border-color:rgba(51,51,51,255);
   opacity:0.7;
}


      </style> 
 </head> 
 <body> 
  <div class="tile black box-alignment" style="width:75%;margin-bottom:0px;padding-top:5px;padding-bottom:5px;"> 
   <div class="row"> 
    <div class="col-md-1" style="margin-top:7px;"> 
    </div> 
    <div class="col-md-7"> 
     <button class="btn btn-default btn-info" style="margin-left:10px">Change picture</button> 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials