Hover Effect to add border in a CSS
In this tutorials i am create hover effect to add border in div . The more interesting tutorials check the other blog .
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
div {
background: red;
width: 200px;
height: 200px;
}
div:hover {
border: 4px solid #000;
}
</style>
</head>
<body>
<div>
<span></span>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
div {
background: red;
width: 200px;
height: 200px;
}
div:hover {
border: 4px solid #000;
}
</style>
</head>
<body>
<div>
<span></span>
</div>
</body>
</html>
Comments
Post a Comment