How can I calc, using css, the screen height and use the returned value for the width calculation? is it possible at all?
myClass{    
    height: calc(50% - 33.5px);
    width: heightReturnedValue*1.3
}
                Yes, in css there is a thing called vh (viewport height) and vw (viewport width). The viewport is the screen.
myClass {    
  height: calc(50% - 33.5px);
  width:  calc(100vh * 1.3);
}
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With