
欢迎关注路条编程的公众号,通过学习应用视觉设计这一系列文章,你将会逐步掌握页面版式、色彩、图形、动画和布局相关的基础知识。
<style type="text/css">.two-columns{margin-top: 20px;width: 100%;padding: 10px 0px;}.sec-left {float: left;width: 50%;height: 80px;border: 1px dashed #ccc;}.sec-right {float: right;text-align: right;width: 50%;height: 80px;border: 1px dashed #ccc;}</style>
<div class="two-columns"><section class="sec-left"><h1 style="font-size: 21px">Welcome H1 </h1><h2 style="font-size: 18px">Welcome H2</h2><h3 style="font-size: 16px">Welcome H3</h3></section><section class="sec-right"><h4 style="text-align:right; font-size:16px;">Welcome H4</h4><h5>Welcome H5</h5><h6>Welcome H6</h6></section></div>

重要提示:示例效果预览,请访问 https://www.icoderoad.com , 完整代码查看及下载,请访问 https://github.com/icoderoad/demo。
今天就讲到这里,如果有问题需要咨询,大家可以直接留言或扫下方二维码加入学习社群,我们会尽力为你解答。



作者:路条编程(转载请获本公众号授权,并注明作者与出处)
文章转载自路条编程,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




