W3xue
Tools
一起学习,一起紧随时代的步伐
案例:
CSS3 案例
状态:可编辑再运行
进入横版
<html> <head> <style type="text/css"> div.container { width:100%; margin:0px; border:1px solid gray; line-height:150%; } div.header,div.footer { padding:0.5em; color:white; background-color:gray; clear:left; } h1.header { padding:0; margin:0; } div.left { float:left; width:160px; margin:0; padding:1em; } div.content { margin-left:190px; border-left:1px solid gray; padding:1em; } </style> </head> <body> <div class="container"> <div class="header"><h1 class="header">W3xue.com</h1></div> <div class="left"><p>"Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham (1285-1349)</p></div> <div class="content"> <h2>Free Web Building Tutorials</h2> <p>At W3xue.com.cn you will find all the Web-building tutorials you need, from basic HTML and XHTML to advanced XML, XSL, Multimedia and WAP.</p> <p>W3xue.com - The Largest Web Developers Site On The Net!</p></div> <div class="footer">Copyright by w3xue.com</div> </div> </body> </html>
运行结果
本设备
Galaxy S5
Nexus 5X
Nexus 6P
iPhone7
iPhone7 Plus
iPhone8
iPhone8 Plus
iPhoneX
iPad
iPad Pro
部分手机浏览器需要先点“提交代码”才能编辑代码。
W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
部分案例需要特定浏览器支持,如案例没有显示效果,请尝试更换浏览器。
意见反馈
友情链接:
直通硅谷
点职佳
北美留学生论坛