So. I have fixed positioned div that has 100% height from screen top to bottom and I need to match its width to be same as its height on all screen sizes. How I do it?
(Edited the title question)
div {
    position:fixed;
    top:0;
    left:0;
    height:100%;
}
 
    