how to set height equal to dynamic width pure css

90

.some_element {
    position: relative;
    width: 20%;
    height: 0;
    padding-bottom: 20%;
}

Comments

Submit
0 Comments