momox

关于html代码部分:

关于css:

<style type="text/css">
*{
margin: 0px;
padding:0px;
list-style: none;
}
s{
text-decoration: none;/*清除超链接默认的下划线*/
}
.box{
width: 237px;
height: 476px;
background: url(img/phone.jpg) no-repeat;
margin: 0 auto;
position: relative;
}
.box .cont_box{
width:184px;
height:330px;
position: absolute;
left:26px;
top:72px;
}
.cont_box .cont{
width: 184px;
height:290px;
border-bottom: 1px solid #eee;
overflow: auto;
}
.cont_box .more{
height: 30px;
margin-top:8px;
}
.more .ple{
display: inline-block;
float: left;
width: 24px;
height: 24px;
border-radius: 3px;
margin-left: 3px;
cursor: pointer;
}
.more .text{
width: 100px;
height: 22px;
border-radius: 3px;
float: left;
margin-left: 3px;
}
.more .but{
border:none;
background-color:#fff;
font-size: 16px;
margin-left: 3px;
height: 24px;
}
.fl img{
float: left;
}
.fl p{
float: left;
max-width: 150px;
margin-left: 5px;
word-break:break-all;
}
.fr img{
float: right;
}
.fr p{
float: right;
max-width: 150px;
margin-right: 5px;
word-break:break-all;
}
.fl,.fr{
margin-bottom:45px;
}
.clerafix{
display: block;
content:"";
clear: both;
}
</style>

关于js代码:

 

最后成品是:

 

 

一切皆会越来越好!

分类:

技术点:

相关文章:

  • 2021-08-27
  • 2021-10-16
  • 2021-11-13
  • 2021-12-15
  • 2021-09-27
  • 2021-12-15
  • 2021-11-04
  • 2021-09-27
猜你喜欢
  • 2021-12-04
  • 2021-11-11
  • 2021-12-06
  • 2021-07-29
  • 2021-08-11
  • 2021-12-06
  • 2021-11-06
相关资源
相似解决方案