html5 - How to write HTML code of main. -
code necessary place layer "main" left edge 33.3% left edge plus 7 pixels? . im not sure how write code.
use css calc function element want position way.
left:calc(33.3% + 7px);
example
div{ width:100px; height:100px; position:absolute; background:blue; left:calc(33.3% + 7px); }
<div></div>
Comments
Post a Comment