Answers for "carré css"

CSS
0

carré css

.square {
  position: relative;
  width: 50%;
}

.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.content {
  position: absolute;
  width: 100%;
  height: 100%;
}
Posted by: Guest on August-02-2021

Browse Popular Code Answers by Language