<style>
#css-shadow
{
margin: 0;
padding: 0;
position: relative; /* Dùng để định vị chữ */
width: 500px;
height: 250px;
}
#css-shadow h1.font
{
position: absolute; top: 0; left: 0; z-index: 1;
color: blue;
}
#css-shadow h1.shadow
{
position: absolute; top: 2px; left: 2px; z-index: 0;
color: #C0C0C0;
}
</style>
<div id="wrapper">
<div id="css-shadow">
<h1 class="font">
www.BantinForex.tk</h1>
<h1 class="shadow">
www.BantinForex.tk</h1>
</div>
</div>
#css-shadow
{
margin: 0;
padding: 0;
position: relative; /* Dùng để định vị chữ */
width: 500px;
height: 250px;
}
#css-shadow h1.font
{
position: absolute; top: 0; left: 0; z-index: 1;
color: blue;
}
#css-shadow h1.shadow
{
position: absolute; top: 2px; left: 2px; z-index: 0;
color: #C0C0C0;
}
</style>
<div id="wrapper">
<div id="css-shadow">
<h1 class="font">
www.BantinForex.tk</h1>
<h1 class="shadow">
www.BantinForex.tk</h1>
</div>
</div>
Vậy là xong, ví dụ dòng chữ dưới đây:
www.BantinForex.tk
www.BantinForex.tk
![](http://1.bp.blogspot.com/_b0xJ7qk6DTc/TG90pU_i9JI/AAAAAAAAA4A/3TSvL5japaI/s1600/tag_blue.png)
Responses
0 Respones to "Kỹ thuật làm chữ bòng đổ"
Post a Comment