Skip to content

Instantly share code, notes, and snippets.

@santanup789
Created January 2, 2018 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santanup789/5076defaa5dc209829a99ec37432f987 to your computer and use it in GitHub Desktop.
Save santanup789/5076defaa5dc209829a99ec37432f987 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
<meta charset="UTF-8" />
<style type="text/css">
.sec1{
height: 180px;
width: 180px;
background: #3acce4;
padding: 8px;
border-radius: 13%;
box-shadow: 0 0 8px 2px rgb(37, 143, 151);
transition: 0.3s;
}
.sec2{
height: 100%;
width: 100%;
background: #2cc3ce;
transform: scale(1);
transition: 0.3s;
border-radius: 10%;
box-shadow: 0 0 3px 2px #31656f, 0 0 2px 4px #37a4b7 inset;
}
.sec1:hover .sec2{
transform: scale(0.97);
box-shadow: 0 0 7px 2px #0a2024, 0 0 2px 4px #1b5b66 inset;
}
.sec1:hover{
box-shadow: 0 0 5px 4px #296e7b inset, 0 0 8px 2px rgb(37, 143, 151);
}
</style>
</head>
<body>
<div class="sec1">
<div class="sec2">
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment