免费模板网
当前位置: 新濠天地网上娱乐场官方网站>CSS图表> CSS代码实现的电子图表,似电火花

CSS图表

CSS代码实现的电子图表,似电火花

分类:CSS图表 时间:2009/7/7 13:18:22 浏览:10124 次

演示效果截图

本文地址:http://www.lanzuda.com/css-chart/detail-6354.aspx
文章摘要: CSS代码实现的电子图表,似电火花 ,网上赌场娱乐官方网站线上银河娱乐场官方网站线上英皇娱乐场官方网站,正规网上赌场官方网站巴黎人娱乐城官方网站真人视讯官方网站。

 CSS代码实现的电子图表,似电火花

CSS代码

<style type="text/css" media="screen">
* { 
margin: 0; 
padding: 0; 
list-style-type: none;}
body { 
font-family: Helvetica, Arial, sans-serif; 
color: #333; }
a { 
color: #2D7BB2; 
text-decoration: none; 
font-weight: bold; }
a:hover { 
color: #333; }
h2, h3, h4 { 
clear: both; 
margin: 0 0 0.6em 0;}
h3 { 
color: #666; }
.section { 
float: left;
clear: left;
padding: 1em 2em;}
.sparkline { 
float: left; 
height: 1em;
margin: 0 0.5em;}
.sparkline .index { 
position: relative;
float: left; 
width: 2px; 
height: 100%; }
.sparkline .index .count { 
display: block; 
position: absolute; 
bottom: 0; 
left: 0; 
width: 100%; 
height: 0; 
background: #AAA;
overflow: hidden; 
text-indent: -9999px;}
.sparklist li { 
padding: 0.4em 0; }
</style>

HTML代码

<div class="section">
<h2>CSS代码实现的电子图表,似电火花</h2>
<h3>www.865171.cn</h3>
<h4>2009.7.7</h4>
<ul class="sparklist">
<li>
<span class="sparkline">
<span class="index"><span class="count" style="height:27%;">(60,</span></span>
<span class="index"><span class="count" style="height:97%;">220,</span></span>
<span class="index"><span class="count" style="height:62%;">140,</span></span>
<span class="index"><span class="count" style="height:35%;">80,</span></span>
<span class="index"><span class="count" style="height:49%;">110,</span></span>
<span class="index"><span class="count" style="height:40%;">90,</span></span>
<span class="index"><span class="count" style="height:80%;">180,</span></span>
<span class="index"><span class="count" style="height:62%;">140,</span></span>
<span class="index"><span class="count" style="height:53%;">120,</span></span>
<span class="index"><span class="count" style="height:71%;">160,</span></span>
<span class="index"><span class="count" style="height:78%;">175,</span></span>
<span class="index"><span class="count" style="height:100%;">225,</span></span>
<span class="index"><span class="count" style="height:78%;">175,</span></span>
<span class="index"><span class="count" style="height:56%;">125)</span></span>
</span>
<a href="http://www.lanzuda.com/478/fruits/apples/">Apples</a>
</li>
<li>
<span class="sparkline">
<span class="index"><span class="count" style="height:40%;">(90,</span></span>
<span class="index"><span class="count" style="height:49%;">110,</span></span>
<span class="index"><span class="count" style="height:27%;">60,</span></span>
<span class="index"><span class="count" style="height:33%;">75,</span></span>
<span class="index"><span class="count" style="height:56%;">125,</span></span>
<span class="index"><span class="count" style="height:67%;">150,</span></span>
<span class="index"><span class="count" style="height:44%;">100,</span></span>
<span class="index"><span class="count" style="height:18%;">40,</span></span>
<span class="index"><span class="count" style="height:33%;">75,</span></span>
<span class="index"><span class="count" style="height:40%;">90,</span></span>
<span class="index"><span class="count" style="height:27%;">60,</span></span>
<span class="index"><span class="count" style="height:78%;">175,</span></span>
<span class="index"><span class="count" style="height:100%;">225,</span></span>
<span class="index"><span class="count" style="height:56%;">125)</span></span>
</span>
<a href="http://www.lanzuda.com/576/fruits/apples/">Bananas</a>
</li>
<li>
<span class="sparkline">
<span class="index"><span class="count" style="height:22%;">(75,</span></span>
<span class="index"><span class="count" style="height:44%;">100,</span></span>
<span class="index"><span class="count" style="height:22%;">50,</span></span>
<span class="index"><span class="count" style="height:35%;">80,</span></span>
<span class="index"><span class="count" style="height:27%;">60,</span></span>
<span class="index"><span class="count" style="height:40%;">90,</span></span>
<span class="index"><span class="count" style="height:49%;">110,</span></span>
<span class="index"><span class="count" style="height:18%;">40,</span></span>
<span class="index"><span class="count" style="height:27%;">60,</span></span>
<span class="index"><span class="count" style="height:33%;">75,</span></span>
<span class="index"><span class="count" style="height:27%;">60,</span></span>
<span class="index"><span class="count" style="height:18%;">40,</span></span>
<span class="index"><span class="count" style="height:27%;">60,</span></span>
<span class="index"><span class="count" style="height:44%;">100)</span></span>
</span>
<a href="http://www.lanzuda.com/045/fruits/apples/">Cherries</a>
</li>
<li>
<span class="sparkline">
<span class="index"><span class="count" style="height:11%;">(25,</span></span>
<span class="index"><span class="count" style="height:22%;">50,</span></span>
<span class="index"><span class="count" style="height:13%;">30,</span></span>
<span class="index"><span class="count" style="height:8%;">20,</span></span>
<span class="index"><span class="count" style="height:18%;">40,</span></span>
<span class="index"><span class="count" style="height:11%;">25,</span></span>
<span class="index"><span class="count" style="height:16%;">35,</span></span>
<span class="index"><span class="count" style="height:22%;">50,</span></span>
<span class="index"><span class="count" style="height:27%;">60,</span></span>
<span class="index"><span class="count" style="height:13%;">30,</span></span>
<span class="index"><span class="count" style="height:8%;">20,</span></span>
<span class="index"><span class="count" style="height:18%;">40,</span></span>
<span class="index"><span class="count" style="height:22%;">50,</span></span>
<span class="index"><span class="count" style="height:11%;">25)</span></span>
</span>
<a href="http://www.lanzuda.com/517/fruits/apples/">Dates</a>
</li>
</ul>
</div>

上一篇:水平柱状CSS图表

下一篇:纯CSS代码实现动态水平图表

站长常用工具

最新图表

热门图表

赞助商链接

澳门葡京国际娱乐官方网站 澳门新葡京娱乐场官方网站 美高梅娱乐网址官方网站 太阳城娱乐场官方网站
澳门葡京国际娱乐官方网站 澳门皇冠赌场网址官方网站 澳门银河线上娱乐官方网站 葡京赌场开户官方网站
澳门葡京国际娱乐官方网站 美高梅娱乐场网址官方网站 澳门新葡京网上娱乐官方网站 澳门银河网上娱乐官方网站
线上新濠天地娱乐场官方网站 澳门美高梅娱乐官方网站 澳门皇冠娱乐场官方网站 新葡京网上娱乐场官方网站