Day 248

Another day of code...
#CodingPhase #TheCodingWay #365CodingPhaseChallenge

********

.box .content-area #social-media-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in;
}

.box .content-area #social-media-section.active {
  height: 50px;
}

.box .content-area #social-media-section a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
  background: #eeeefe;
  margin-right: 20px;
  text-decoration: none;
  border-radius: 5px;
  color: 5458f7;
  position: relative;
  transition: all 0.4s ease-in;
  transform: translate3d(0, -50px, 0);
}

.box .content-area #social-media-section a:hover {
  background: #feeeee;
  color: #f75454;
}

.box .content-area #social-media-section a:nth-child(4) {
  margin-right: 0;
}

.box .content-area #social-media-section.active a:nth-child(1) {
  transform: translate3d(0, 0, 0);
  transition-delay: 0;
}

.box .content-area #social-media-section.active a:nth-child(2) {
  transform: translate3d(0, 0, 0);
  transition-delay: 0.2s;
}

.box .content-area #social-media-section.active a:nth-child(3) {
  transform: translate3d(0, 0, 0);
  transition-delay: 0.3s;
}

.box .content-area #social-media-section.active a:nth-child(4) {
  transform: translate3d(0, 0, 0);
  transition-delay: 0.4s;
}

Comments

Popular posts from this blog

Day 1

Day 365 + 1

Day 365 + 2