Answers for "how to set height equal to dynamic width pure css"

CSS
2

how to set height equal to dynamic width pure css

.some_element {
    position: relative;
    width: 20%;
    height: 0;
    padding-bottom: 20%;
}
Posted by: Guest on January-05-2021

Code answers related to "how to set height equal to dynamic width pure css"

Browse Popular Code Answers by Language