1 Star 0 Fork 0

杨斌 / oneshop1.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
productList.css 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
div.container{
width: 1200px;
margin:0 auto;
}
div.container>div.search_nav{
font-size: 20px;
}
div.hint-left{
font-size:20px;
}
div.order{
font-size:20px;
}
div.product_list{
width:1200px;
display: flex;
justify-content:space-between;
flex-wrap: wrap;
background: #f5f5f5;
}
div.product{
width: 290px;
height: 400px;
background: #fff;
text-align: center;
margin-bottom: 15px;
border-radius:5px;
box-sizing: border-box;
}
div.product:hover{
border: 1px solid #e4393c;
}
div.product img:hover{
transform: scale(1.08);
}
div.product img{
width:220px;
margin:20px 0 0 30px;
}
div.product p.title{
margin: 10px 0;
font-size: 18px;
}
div.product p.price{
color:#e4393c;
font-size:15px ;
margin: 10px 0;
}
div.product p.subtitle{
padding:8px 10px;
}
div.product>p.count>input{
width: 20px;
height: 20px;
text-align: center;
}
div.product>p.count>span{
display:inline-block;
width:20px;
height: 20px;
background: #ddd;
cursor: pointer;
margin: 5px;
}
div.product>p.count>span:last-of-type{
width: 100px;
height: 30px;
font-size: 15px;
font-weight:600;
color: #e4393c;
background:#dddddd;
line-height: 30px;
}
/* 购物车的固定效果 */
header>.bottom>.care{
position:fixed;
top: 200px;
right:50px;
background:#ADADEA !important;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/shenaizhe/oneshop1.0.git
git@gitee.com:shenaizhe/oneshop1.0.git
shenaizhe
oneshop1.0
oneshop1.0
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891