.image {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
}
.container:hover .image {
opacity: 0.3;
}
.container:hover .middle {
opacity: 1;
}
.text {
color: green;
font-size: 16px;
padding: 16px 32px;
}
-
Notifications
You must be signed in to change notification settings - Fork 0
adhityan1997/mini-project
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
mini project in home auomation
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published