css练习2
来源:互联网 发布:linux 搜索文件 编辑:程序博客网 时间:2024/06/01 22:16
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <style> div{ background-color: #19242C; width: 300px; height: 300px; color: white; box-sizing: border-box; } ul{ list-style: none; padding: 0px; margin: 0px; text-align: center; width: 100%; height: 100%; margin-left: 50px; } li{ background-image: url("img/ico.png"); background-repeat: no-repeat; width: 20px; height: 40px; white-space: nowrap; line-height: 40px; text-indent: 25px; } #l1{ background-position: 2px 10px; } #l2{ background-position: -20px 10px; } #l3{ background-position: -40px 10px; } #l4{ background-position: -60px 10px; } #l5{ background-position: -80px 10px; } </style> <title>Title</title></head><body><div> <h2>联系我们</h2> <ul> <li id="l1">总机:0427-3293318</li> <li id="l2">总机:0427-3293318</li> <li id="l3">总机:0427-3293318</li> <li id="l4">总机:0427-3293318</li> <li id="l5">总机:0427-3293318</li> </ul></div></body></html>
0 0
- div css 练习2
- DIV+CSS练习2
- css练习2
- css练习
- css练习
- CSS练习-图片缩略图
- CSS特效练习
- div css 练习1
- DIV+CSS练习1
- DIV+CSS练习3
- css练习 简单布局
- CSS的简单练习
- CSS的简单练习
- div、css入门练习
- CSS基本练习01
- CSS练习02
- html css练习
- HTML-CSS基础练习
- PTA 数据结构与算法题目集(中文)5-5 堆中的路径 (25分)
- 网络安全
- 数据库 应用子句
- 当心僵尸:过时Linux内核的安全风险
- 自己随意乱写保存着看!
- css练习2
- ssh传送文件
- Android Studio 技巧之 【Semicolon Dot Completion】
- Given an array of integers, return indices of the two numbers such that they add up to a specific ta
- raid2.0详细分析
- JAVA的POI操作Excel
- 《向往的生活 》观后感
- 公共子序列
- 大数