Search
 
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
Name
5+1 =