
~~~
<link rel="stylesheet" href="https://at.alicdn.com/t/font_939378_e7mrh1qjybu.css">
<style>
.search{
width:250px;
height:40px;
display: flex;
padding:5px 25px;
border-radius: 30px;
background: #eee;
align-items: center;
}
.search>input{
flex:1;
border: none;
outline: none;
background: #eee;
}
</style>
</head>
<body>
<div class="search">
<input type="text" placeholder="搜索">
<i class="iconfont"></i>
</div>
</body>
~~~
- html-css
- 第一節 外部樣式表
- 第二節 元素選擇器
- 第三章 盒子模型
- 第四章 html標簽的分類
- 第五章 css選擇器
- 第六章 權重
- 第七章 css基本樣式
- 第一節 背景
- 第二節 文本
- 第三節 字體
- 第四節 鏈接
- 第五節 列表(針對ul)
- 第六節 邊框
- 第七節 簡單表格
- 第八節 nvvm
- 第九節 跨越列的表格
- 第十節 跨越行的表格
- 第十一節 有間隔的表格
- 第十二節 opacity透明度
- 第八章 css樣式的繼承
- 進階教程
- 1.flex教程
- flex補充1
- flex補充2
- 2.grid布局
- css
- 第一節 box-sizing
- 第二節 float
- 第三節 position
- 第四節 導航欄
- iconfont的使用
- 第五節 搜索功能的實現