Any way to do this in CSS3?
if(window.innerWidth <= 1000) {
var ecra = window.innerWidth;
$(".topo").css("height",ecra*0.293);
}
I tried
@media screen and (min-width: 0px) and (max-width:1000px) {
.topo {
height: calc(device-width*0.293);
}
But I can not find the size of the screen with css