百度
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; }

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

阅读更多 >>>  clientheight,VB怎么更改鼠标指针样式

文章数据信息:

本文主要探讨:"简单特效代码,如何利用CSS实现三角形效果_htmlcss_WEB-ITnose", 浏览人数已经达到33次, 首屏加载时间:0.484 秒。