Edhe pse kjo teme fare mire mund ti perkiste kategorise webmaster, po ju kaloj kodin si ti jepni efektin siper shkronjave vetem me ndihmen e CSS.
Se pari kodi html duhet te jete i tille nder tag div:
Kodi HTML:
<div class="blloku">
<span class="theksimi">LETTERPRESS</span>
<span class="ngjyra">LETTERPRESS</span></div>
Dhe me pas ne css duhet te keni keto klasa:
Kodi PHP:
.blloku{
margin: 15px auto 0;
position: relative;
padding: 20px;
width: 400px;
clear:both;
overflow:hidden;
background-color: #e4b7c0;
}
.theksimi{
color: #fce2e7;
display:block;
}
.ngjyra{
color: #a33e52;
position: absolute;
top: 19px;
}
Efekti eshte imazhi siper, ku shikohet qarte bordi i ngjyrave ne shkonja.
ReniX