The only way to use CSS at the moment (AFAIK) is to use viewports for the values ββ(vh / vw)
Support is currently small: http://caniuse.com/viewport-units , but here's a quick demo
Jsfiddle
CSS
.box {
background-color: #00f;
width: 50vw;
height:50vw;
}
The box reacts, but always remains square.
% , height:100% width:100%, , .