
~~~
<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的使用
- 第五节 搜索功能的实现
