Files
ClassContent/历届学生/fontendsix/项目练习/上课项目/美食杰/css/public.css
2024-09-27 02:06:13 +08:00

252 lines
4.3 KiB
CSS

.wf-father {
font-size: 0px;
min-height: 1000 px;
width: 100vw;
}
.wf-item {
height: auto;
overflow: hidden;
padding: 0px 5px 16px;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
float: left;
width: 50%;
box-sizing: border-box;
}
.wf-itemw {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
border-radius: 7px;
overflow: hidden;
display: block;
}
.img-one {
object-fit: cover;
width: 100%;
height: 60vw;
}
.wf-item-top {
position: relative;
overflow: hidden;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.wf-item-top .vicon {
height: 20px;
width: 20px;
background: url(https://st-cn.meishij.net/p2/20181206/20181206143142_460.png)
0px 0px no-repeat;
background-size: 20px 40px;
right: 10px;
top: 10px;
position: absolute;
z-index: 100;
}
.wf-item-content {
background: #fff;
padding-bottom: 12px;
}
.wf-title {
font-size: 16px;
color: #333;
font-weight: 600;
line-height: 22px;
padding: 10px 10px 0px 10px;
position: relative;
}
<<<<<<< HEAD
.footer {
display: flex;
align-items: center;
justify-content: space-around;
position: fixed;
z-index: 999;
bottom: 0;
left: 0;
right: 0;
background: #fff;
width: 100%;
height: 1rem;
border-top: 0.02rem solid #e8ebec;
}
.footer li {
text-align: center;
=======
.wf-des {
background: #fff2f2;
border-radius: 2px;
position: relative;
margin: 12px 10px 0px 10px;
padding: 4px 6px 4px 6px;
box-sizing: border-box;
display: inline-block;
vertical-align: top;
>>>>>>> a1acf77c888621bca27fc7cd2737afcd7d471271
}
.wf-des .t {
font-size: 8px;
line-height: 12px;
height: 12px;
border-radius: 2px;
color: #fff;
position: absolute;
left: 0px;
top: -13px;
padding: 0px 3px;
font-weight: 600;
background: #ff8d8d;
border-bottom-left-radius: 0px;
}
.wf-des-rel {
font-size: 11px;
color: #ff8d8d;
line-height: 14px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.wf-item-content-bottom {
height: 18px;
margin: 20px 10px 0px;
position: relative;
}
.wf-item-bottom-left {
font-size: 0px;
}
.wf-item-bottom-left img {
height: 18px;
width: 18px;
border-radius: 9px;
overflow: hidden;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
display: inline-block;
vertical-align: top;
}
.wf-item-bottom-left span {
display: inline-block;
vertical-align: top;
height: 18px;
line-height: 18px;
font-size: 9px;
color: #666;
padding-left: 5px;
max-width: 45%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wf-item-bottom-right {
position: absolute;
right: 0px;
top: 0px;
height: 18px;
padding-left: 15px;
line-height: 18px;
color: #666;
font-size: 9px;
}
.wf-item-bottom-right-i {
position: absolute;
left: 0px;
top: 4px;
height: 10px;
width: 13px;
background: url(https://st-cn.meishij.net/p2/20181206/20181206143142_460.png) -4px -20px
no-repeat;
background-size: 20px 40px;
}
.img-four {
left: 0px;
top: 0px;
z-index: 10;
width: 100%;
height: 60vw;
}
.img-four img {
display: block;
height: 49.55%;
width: 49.5%;
position: absolute;
}
.img-four img:nth-child(1) {
left: 0px;
top: 0px;
}
.img-four img:nth-child(2) {
right: 0px;
top: 0px;
}
.img-four img:nth-child(3) {
left: 0px;
bottom: 0px;
}
.img-four img:nth-child(4) {
right: 0px;
bottom: 0px;
}
.mount {
height: 22px;
line-height: 22px;
padding: 0px 6px;
border-radius: 2px;
background: #fff;
position: absolute;
left: 10px;
bottom: 10px;
font-size: 12px;
color: #333;
font-weight: 600;
z-index: 100;
}
.header_screah{
width: 100%;
height: 72px;
}
.header_screahtop{
width: 100%;
height: 72px;
position: fixed;
left: 0px;
top: 0px;
background: #fff;
z-index: 1000;
}
.header_screahtop{
height: 40px;
display: block;
background: #f5f5f5;
border-radius: 4px;
margin: 16px;
width: 91%;
font-size: 16px;
color: #999;
line-height: 40px;
}
.header_screahtop span{
display: inline-block;
background-size: 16px 16px;
height: 18px;
width: 18px;
margin: 1px 8px 0px 16px;
}
.header_screahtop input{
background-color: #f5f5f5;
}