Answers for "css force iframe border radius"

4

iframe border none

<iframe src="myURL" width="300" height="300" frameBorder="0">Browser not compatible.</iframe>
Posted by: Guest on May-05-2020
0

how to add radius to iframe

.maincontentdiv {
  position: relative;
  height: 100px;
  width: 100%;
  -moz-border-radius: 15px;
  border-radius: 15px;
  overflow: hidden;
}
.slideup {
  position: absolute;
  width: 100%;
  bottom: -2px;
  min-height: 0;
  color: #FFF;
  transition: min-height 250ms ease-in;
  background-color: #666666;
  text-align: center;
  height: 20px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}
.maincontentdiv:hover > .slideup,
.maincontentdiv:focus > .slideup {
  min-height: 65%;
}
Posted by: Guest on October-17-2021

Browse Popular Code Answers by Language