Say I have the following CSS and HTML code:
Seems to be working:
#content { /* or just insert a number with "px" if you're fighting CSS without lesscss.org :) */ vertical-align: -@header_height + @content_height; /* only need it if your content is , * if it is inline (e.g., ) will work without it */ display: inline-block; } Using less makes solving CSS puzzles much more like coding than like... I just love CSS. It's a real pleasure when you can change the whole layout (without breaking it :) just by changing one parameter. 0 讨论(0) 查看其它26个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Using less makes solving CSS puzzles much more like coding than like... I just love CSS. It's a real pleasure when you can change the whole layout (without breaking it :) just by changing one parameter.