Answers for "css calc function"

CSS
1

css calc

.class{
	width: calc(50% - 20px);
}
Posted by: Guest on August-05-2021
1

calc() css

.banniere {
  position: absolute;
  left: 40px;
  width: calc(40px - 80px);
  border: solid black 1px;
  box-shadow: 1px 2px;
  background-color: yellow;
  padding: 6px;
  text-align: center;
  box-sizing: border-box;
}
Posted by: Guest on March-12-2021
0

css calc function

.banner {
  position: absolute;
  left: 40px;
  width: calc(100% - 70px);
  border: solid black 1px;
  box-shadow: 1px 2px;
  background-color: yellow;
  padding: 6px;
  text-align: center;
  box-sizing: border-box;
}
Posted by: Guest on August-12-2021

Browse Popular Code Answers by Language