
Desktop a - 30% b - 30% c - 70%
all 100% on mobile
Hi, I am trying to achieve the next layout, I learned to turn on and close a and b in the container, but it doesn’t work on the mobile phone, I’m sure that one of you css addicts has an answer. I am familiar with media queries.
this is what i got so far, what's wrong.
<div id="a">a</div>
<div id="b">b</div>
<div id="c">c</div>
#a{
width : 30%;
background-color : black;
}
#b{
width : 30%;
background-color : orange;
}
#c{
width : 70%;
background-color : green;
float : right;
}
http://jsfiddle.net/YcJLL/
source
share