DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
force aspect ratio div
div { background: teal; width: 50%; aspect-ratio: 1 / 1; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#force
#aspect
#ratio
#div
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit