// 請(qǐng)把代碼文本粘貼到下方(請(qǐng)勿用圖片代替代碼)
.box {
display: flex;
justify-content: flex-start;
align-items: center;
height: q(36);
background: #ffa500;
span {
display: block;
height: q(72);
font-size: q(72);
line-height: q(72);
transform: scale(.5);
}
i {
display: block;
margin-left: q(10);
width: q(14);
height: q(22);
background: url('../images/right_caret.png') no-repeat center center;
background-size: contain;
}
}
.box3 {
margin-top: q(30);
background: #ffa500;
display: block;
font-size: q(72);
i {
display: inline-block;
margin-left: q(10);
width: q(14);
height: 1ex;
background: url('../images/right_caret.png') no-repeat center;
background-size: contain;
}
}
// box2的居中
.box2 {
margin-top: q(30);
font-size: 0;
line-height: q(86);
vertical-align: middle;
background-color: #f00;
.text {
display: inline-block;
vertical-align: middle;
line-height: 1;
}
.txt {
font-size: q(36);
line-height: 1;
}
i {
display: inline-block;
vertical-align: middle;
margin-left: q(10);
width: q(14);
height: q(22);
background: url('../images/right_caret.png') no-repeat center center;
background-size: contain;
}
}
// 按鈕樣式
.btn_wrap {
display: table;
width: q(300);
margin: q(20) auto 0;
height: q(200);
padding: q(20);
background: #5BD628;
vertical-align: middle;
a {
display: table-cell;
vertical-align: middle;
width: q(300);
text-align: center;
font-size: q(36);
color: #0A0A0AFF;
background: #DD2;
border-radius: q(30);
}
}
// 輸入框
.input_wrap {
margin: q(20) auto 0;
height: q(80);
line-height: q(80);
background: #f00;
padding: 0 q(30);
input {
width: 100%;
height: 100%;
border: none;
display: block;
outline-style: none;
font-size: q(24);
line-height: q(24);
}
}
// button樣式
.button_wrap {
margin: q(20) auto 0;
button {
display: block;
margin: 0 auto;
background-color: #56d176;
width: q(200);
border: none;
outline: none;
padding: q(20) 0;
font-size: q(36);
color: #fff;
}
}
scss:
// 頂部返回按鈕
.top_wrap {
margin: q(30) auto 0;
height: q(100);
line-height: q(100);
background-color: #06c1ae;
.back_btn {
display: block;
width: q(40);
height: q(100);
line-height: q(100);
padding: 0 q(10);
i {
display: inline-block;
position: relative;
width: q(40);
height: q(40);
background-color: #f00;
&:before {
position: absolute;
content: '';
left: 0;
top: 0;
width: q(30);
height: q(30);
border-left: q(10) solid #fff;
border-bottom: q(10) solid #fff;
transform: scale(.8) rotate(45deg);
}
}
}
}
HTML
<body>
<div class="box"><span class="text">查看銀行網(wǎng)點(diǎn)</span><i></i></div>
<div class="box3">查看銀行網(wǎng)點(diǎn)<i></i></div>
<div class="box2"><span class="text"><span class="txt">查看銀行網(wǎng)點(diǎn)</span></span><i></i></div>
<div class="btn_wrap"><a href="javascript:;">點(diǎn)擊跳轉(zhuǎn)</a></div>
<div class="input_wrap">
<input type="text" placeholder="請(qǐng)輸入關(guān)鍵字">
</div>
<div class="button_wrap">
<button>點(diǎn)我打你</button>
</div>
<div class="top_wrap"><a class="back_btn"><i></i></a></div>
</body>
北大青鳥(niǎo)APTECH成立于1999年。依托北京大學(xué)優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國(guó)IT技能型緊缺人才,是大數(shù)據(jù)專業(yè)的國(guó)家
達(dá)內(nèi)教育集團(tuán)成立于2002年,是一家由留學(xué)海歸創(chuàng)辦的高端職業(yè)教育培訓(xùn)機(jī)構(gòu),是中國(guó)一站式人才培養(yǎng)平臺(tái)、一站式人才輸送平臺(tái)。2014年4月3日在美國(guó)成功上市,融資1
北大課工場(chǎng)是北京大學(xué)校辦產(chǎn)業(yè)為響應(yīng)國(guó)家深化產(chǎn)教融合/校企合作的政策,積極推進(jìn)“中國(guó)制造2025”,實(shí)現(xiàn)中華民族偉大復(fù)興的升級(jí)產(chǎn)業(yè)鏈。利用北京大學(xué)優(yōu)質(zhì)教育資源及背
博為峰,中國(guó)職業(yè)人才培訓(xùn)領(lǐng)域的先行者
曾工作于聯(lián)想擔(dān)任系統(tǒng)開(kāi)發(fā)工程師,曾在博彥科技股份有限公司擔(dān)任項(xiàng)目經(jīng)理從事移動(dòng)互聯(lián)網(wǎng)管理及研發(fā)工作,曾創(chuàng)辦藍(lán)懿科技有限責(zé)任公司從事總經(jīng)理職務(wù)負(fù)責(zé)iOS教學(xué)及管理工作。
浪潮集團(tuán)項(xiàng)目經(jīng)理。精通Java與.NET 技術(shù), 熟練的跨平臺(tái)面向?qū)ο箝_(kāi)發(fā)經(jīng)驗(yàn),技術(shù)功底深厚。 授課風(fēng)格 授課風(fēng)格清新自然、條理清晰、主次分明、重點(diǎn)難點(diǎn)突出、引人入勝。
精通HTML5和CSS3;Javascript及主流js庫(kù),具有快速界面開(kāi)發(fā)的能力,對(duì)瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁(yè)制作和網(wǎng)頁(yè)游戲開(kāi)發(fā)。
具有10 年的Java 企業(yè)應(yīng)用開(kāi)發(fā)經(jīng)驗(yàn)。曾經(jīng)歷任德國(guó)Software AG 技術(shù)顧問(wèn),美國(guó)Dachieve 系統(tǒng)架構(gòu)師,美國(guó)AngelEngineers Inc. 系統(tǒng)架構(gòu)師。