Skip to content

Latest commit

 

History

History
100 lines (92 loc) · 2.83 KB

README.md

File metadata and controls

100 lines (92 loc) · 2.83 KB

mini-project

<title>HA</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <style> .container { position: relative; width: 50%; }
.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;
}
</style>

Welcome to Home control

way to smart home

living room

living room

kitchen

kitchen

bed room

bed room

rest room

Rest room