Alguma forma de fazer isso em CSS3?
if(window.innerWidth <= 1000) {
var ecra = window.innerWidth;
$(".topo").css("height",ecra*0.293);
}
Tentei
@media screen and (min-width: 0px) and (max-width:1000px) {
.topo {
height: calc(device-width*0.293);
}
Mas não consigo achar o tamanho do ecrã com css