+ 3
How to creat box with hover effects using Html and Css??
4 ответов
+ 2
html
<body>
<div class="changeMe">
<p>hello there</p>
</div>
</body>
css
<!-- You can change following below -->
.changeMe{
width:450px;
height:320px;
backgroung-color:#ff00ff;
}
.changeMe:hover{
background-color:#000000;
cursor:grab;
}
+ 1
can u explain a bit i tried but got no result
+ 1
<head>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
adding your project or;
use <canvas class="changeMe">...</canvas> instead of <div class="changeMe">...</div>
+ 1
element:hover{
border-color:color;
}
this simple put color and border on your target element