首页 > 编程知识 正文

网页设计和web前端有什么区别,web前端开发跟html5开发有什么区别

时间:2023-05-05 14:36:17 阅读:219857 作者:2535

简单来说%是浏览器百分比单位,em是电脑屏幕的百分比单位

<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <link rel="stylesheet" rel="external nofollow" href=""></head><style type="text/css" media="screen"> *{ padding: 0px; margin: 0px; } .bigbox{ width: 100px; height: 100px; margin-left: 20%; background: red; float:left; } .smallbox{ width: 100px; height: 100px; margin-left:20em; background:yellow; } body{ background: #2FB0FF; }</style><body > <div class="bigbox"> </div> <div class="smallbox"> </div></body></html>

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。