百度
360搜索
搜狗搜索

简单特效代码,如何利用CSS实现三角形效果_htmlcss_WEB-ITnose详细介绍

*{ margin: 0; padding: 0; } body{ background-color: RGB(123,113,104); } #pic{ width: 300px; height: 400px; position: relative; margin: 50px auto; } #pic img{ width: 300px; height: 400px; } #pic span,#pic p{ position: absolute; width: 300px; height: 30px; line-height: 30px; text-align: center; background-color: rgba(61,50,48,0.5); } #pic span{ top: 0px; } #pic p{ bottom: 0px; } #pic ul{ position: absolute; top:0px; left: 320px; } #pic li{ list-style: none; width: 40px; height: 40px; background-color: #333; margin-bottom:10px ; } #pic li.active{ background-color: #F2F2F2; }

图片描述正在加载中...

阅读更多 >>>  css实例,css网页的几种布局实例

网站数据信息

"简单特效代码,如何利用CSS实现三角形效果_htmlcss_WEB-ITnose"浏览人数已经达到21次,如你需要查询该站的相关权重信息,可以点击进入"Chinaz数据" 查询。更多网站价值评估因素如:简单特效代码,如何利用CSS实现三角形效果_htmlcss_WEB-ITnose的访问速度、搜索引擎收录以及索引量、用户体验等。 要评估一个站的价值,最主要还是需要根据您自身的需求,如网站IP、PV、跳出率等!