亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

這個區域不知道怎么寫

這個區域不知道怎么寫

Miss時刻想你 2017-08-17 18:17:28
用了很多方法還是做不出這效果。而且這個小三角我也打不出來。
查看完整描述

1 回答

?
FSYu

TA貢獻152條經驗 獲得超59個贊

<!DOCTYPE?html>
<html?lang="en">

<head>
<meta?charset="UTF-8">
<meta?name="viewport"?content="width=device-width,?initial-scale=1.0">
<meta?http-equiv="X-UA-Compatible"?content="ie=edge">
<title>Document</title>
<style>
*?{
margin:?0;
padding:?0;
}
.box?{
width:?100%;
clear:?both;
}
.n1?{
width:?50%;
float:?left;
}
.tu?{
background:?red;
height:?300px;
width:?50%;
float:?left;
}
.txt?{
background:?blue;
height:?300px;
width:?50%;
float:?right;
position:?relative;
}
.jiao?{
position:?absolute;
left:?-30px;
top:?50%;
margin-top:?-30px;
width:?0;
height:?0;
border-top:?30px?solid?transparent;
border-right:?30px?solid?blue;
border-bottom:?30px?solid?transparent;
}
</style>
</head>

<body>
<div?class="box">
<div>
<div?class="n1">
<div?class="tu"></div>
<div?class="txt">
<div?class="jiao"></div>
</div>
</div>
<div?class="n1">
<div?class="tu"></div>
<div?class="txt">
<div?class="jiao"></div>
</div>
</div>
</div>
</div>
</body>

</html>


要下班了,只打了第一行的。第二行同理,你自己看著弄吧!

查看完整回答
反對 回復 2017-08-17
  • 1 回答
  • 0 關注
  • 1169 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號