html+css+jq实现广告5秒之后自动关闭特效

 时间:2024-10-13 03:45:20

1、准备好需要用到的图标。

html+css+jq实现广告5秒之后自动关闭特效

2、新建html文档。

html+css+jq实现广告5秒之后自动关闭特效

4、书写css代码。* { padding: 0; margin: 0; font-size: 12px; }ol, ul, li { list-style: none }img { border: none }.box { width: 564px; height: 361px; margin: 20px auto; position: relative; display: none; }.ad_time { width: 554px; height: 351px; background: #000; filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5; padding: 5px; position: absolute; top: 0; left: 0; color: #fff; }.ad_time span { font-weight: bold; color: #cc0; padding: 0 5px; }.close { width: 49px; height: 20px; background: url(../images/close.png) no-repeat; position: absolute; top: 0; right: 0; cursor: pointer; }.btn { width: 100px; height: 30px; background: #eee; border: 1px solid #ddd; font: normal 12px/30px '微软雅黑'; text-align: center; margin: 20px auto; cursor: pointer; }

html+css+jq实现广告5秒之后自动关闭特效

6、代码整体结构。

html+css+jq实现广告5秒之后自动关闭特效
  • 趋势怎么确认形成 趋势的力度和延续性怎么判断
  • 七猫免费小说怎样进行幸运7抽奖
  • 有没有值得推荐的校园电影呢?
  • 西瓜的功效与作用!
  • 贷款合作机构风险的防范措施
  • 热门搜索
    三亚旅游住宿攻略 避暑山庄旅游 安康旅游景点 成都到丽江旅游 cri环球旅游频道 杭州周边旅游景点 旅游搜索 海南国际旅游岛先行试验区 航空旅游学院 红色旅游的意义