Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

width clamp css

/* The element will try to be 5% of the view width with min=15px and max=60px */
width:clamp(15px,5vw,60px) 
 
PREVIOUS NEXT
Tagged: #width #clamp #css
ADD COMMENT
Topic
Name
3+4 =