CSS模擬撲克牌,css模擬

來源:互聯網
上載者:User

CSS模擬撲克牌,css模擬

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS模擬撲克牌</title>
<mce:style type="text/css"><BGSOUND CEP="0" /></mce:style><style type="text/css" mce_bogus="1">.card{width:125px;height:170px; position:absolute;overflow:hidden;border:1px #c0c0c0 solid;}


span{
display:block;
width:20px;
height:30px;
line-height:30px;
position:absolute;
font-size:26px;
left: 22px;
top: 130px;
}
b{display:block;width:15px;height:10px; position:absolute;font-size:10px;text-align:center;font-weight:bold;overflow:hidden;}
/*座標位置*/
.A1{left:21px;top:10px;}
.A2{left:21px;top:50px;}
.A3{left:21px;top:90px;}
.A4{left:21px;top:130px;}
.B1{left:51px;top:76px;}
.C1{left:83px;top:10px;}
.C2{left:83px;top:50px;}
.C3{left:83px;top:90px;}
.C4{left:83px;top:130px;}
.scroll{FILTER:progid:DXImageTransform.Microsoft.BasicImage(Rotation=2);height:1px}
.index {
font-size: 16px;
font-weight: bold;
text-align: center;
width:14px;
height:36px;
position: absolute;
left:5px;
top:0px;
}
.end {
font-size: 16px;
font-weight: bold;
text-align: center;
width:14px;
height:36px;
position: absolute;
right:5px;
bottom:0px;
}
.red { color: #ff0000; }
.font{font-size:34px;}</style>
</head>
<body>
<BGSOUND CEP="1" />
<div class="card" style="left:10px;top:20px;">
<div class="front">
<strong class="index">9<br />&#9824;</strong>
<span class="A1">&#9824;</span>
<span class="A2">&#9824;</span>
<span class="A3">&#9824;</span>
<span class="A4">&#9824;</span>
<span class="B1">&#9824;</span>
<span class="C1">&#9824;</span>
<span class="C2">&#9824;</span>
<span class="C3">&#9824;</span>
<span class="C4">&#9824;</span>
<strong class="end">&#9824;<br/ />9</strong>
</div>
</div>
<BGSOUND CEP="2" />
<div class="card" style="left:175px;top:20px;">
<div class="front red">
<strong class="index">9<br />&#9829;</strong>
<span class="A1">&#9829;</span>
<span class="A2">&#9829;</span>
<span class="A3">&#9829;</span>
<span class="A4">&#9829;</span>
<span class="B1">&#9829;</span>
<span class="C1">&#9829;</span>
<span class="C2">&#9829;</span>
<span class="C3">&#9829;</span>
<span class="C4">&#9829;</span>
<strong class="end">&#9829;<br/ />9</strong>
</div>
</div>
<BGSOUND CEP="3" />
<div class="card" style="left:340px;top:20px;">
<div class="front red">
<strong class="index">9<br />&#9827;</strong>
<span class="A1">&#9827;</span>
<span class="A2">&#9827;</span>
<span class="A3 scroll">&#9827;</span>
<span class="A4 scroll">&#9827;</span>
<span class="B1">&#9827;</span>
<span class="C1">&#9827;</span>
<span class="C2">&#9827;</span>
<span class="C3 scroll">&#9827;</span>
<span class="C4 scroll">&#9827;</span>
<strong class="end scroll">9<br/ />&#9827;</strong>
</div>
</div>
<BGSOUND CEP="4" />
<div class="card" style="left:510px;top:20px;">
<div class="front red">
<strong class="index">9<br />&#9830;</strong>
<span class="A1 font">&#9830;</span>
<span class="A2 font">&#9830;</span>
<span class="A3 font">&#9830;</span>
<span class="A4 font">&#9830;</span>
<span class="B1 font">&#9830;</span>
<span class="C1 font">&#9830;</span>
<span class="C2 font">&#9830;</span>
<span class="C3 font">&#9830;</span>
<span class="C4 font">&#9830;</span>
<strong class="end">&#9830;<br/ />9</strong>
</div>
</div>
<div>http://www.999jiujiu.com/</div>
</body>
</html>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.