DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
how to set height equal to dynamic width pure css
.some_element { position: relative; width: 20%; height: 0; padding-bottom: 20%; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#set
#height
#equal
#dynamic
#width
#pure
#css
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit