You’ll either have to use media queries to change the width and height of .devices for different screen widths, or you you’ll have to use something like view width instead of pixels to define the width and height of .devices (i.e. width:50vw; height:50vw;
maybe we’re talking about different topics?
i don’t need icon to be adaptive to screen width
i need inner elements to be relative properties to its parent element
here is a simple pen
so whenever i change parent element width & height
inner elements would change their property relatively to its parent
So for now if you’ll change .container width&height lines will falls apart
how i can avoid it?
i was hoping that i won’t have to write again but
i did another pen
can yuo take a look what i’m missing here again
its kinda almost works but length of :after elemnts changes not proportionaly
when you change width&height of .main-navbar say to 200px both