lHezarfeNl 1
lHezarfeNl
Bodyguardd 1
Bodyguardd
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
BeviS 1
BeviS
Bvural41 1
Bvural41
kaptanmikro1 1
kaptanmikro1
Agora Metin2 1
Agora Metin2
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Reklam vermek için turkmmo@gmail.com

[CSS] Turuncu Buton || MtnByk

  • Konuyu başlatan Konuyu başlatan MtnByk
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 1
  • Görüntüleme Görüntüleme 607
..:::HTML KODU:::..
​
Kod:
<button class="turuncu">MtnByk CSS Butonlar</button>

..:::CSS KODU:::..​

Kod:
button.turuncu {    border: 1px solid #c08c32;
    background: #fed76f;
    background: -moz-linear-gradient(top,  #fed76f 0%, #eaae45 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed76f), color-stop(100%,#eaae45));
    background: -webkit-linear-gradient(top,  #fed76f 0%,#eaae45 100%);
    background: -o-linear-gradient(top,  #fed76f 0%,#eaae45 100%);
    background: -ms-linear-gradient(top,  #fed76f 0%,#eaae45 100%);
    background: linear-gradient(top,  #fed76f 0%,#eaae45 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed76f', endColorstr='#eaae45',GradientType=0 );
    padding: 5px 10px;
    color: #8f6c2c;
    font-weight: bold;
    text-shadow: 1px 1px 0 #ffcf75;
}


button.turuncu:hover {
    cursor: pointer;
    background: -moz-linear-gradient(top,  #fed76f 0%, #f9bc52 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed76f), color-stop(100%,#f9bc52));
    background: -webkit-linear-gradient(top,  #fed76f 0%,#f9bc52 100%);
    background: -o-linear-gradient(top,  #fed76f 0%,#f9bc52 100%);
    background: -ms-linear-gradient(top,  #fed76f 0%,#f9bc52 100%);
    background: linear-gradient(top,  #fed76f 0%,#f9bc52 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed76f', endColorstr='#f9bc52',GradientType=0 );
}




button.turuncu:active {
    box-shadow: 0 2px 1px #aaa,-2px 2px 5px #e0a641 inset;
    background: #f3ce6a;
    background: -moz-linear-gradient(top,  #f3ce6a 0%, #eaae45 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3ce6a), color-stop(100%,#eaae45));
    background: -webkit-linear-gradient(top,  #f3ce6a 0%,#eaae45 100%);
    background: -o-linear-gradient(top,  #f3ce6a 0%,#eaae45 100%);
    background: -ms-linear-gradient(top,  #f3ce6a 0%,#eaae45 100%);
    background: linear-gradient(top,  #f3ce6a 0%,#eaae45 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3ce6a', endColorstr='#eaae45',GradientType=0 );

}
Görüntü:
fgt80.png


​
Not; CSS kodunda bulunan "Turuncu" ile adlandırılmış kodu değişirseniz HTML kodundaki "Turuncu" yazan yeride ona göre düzenlemeniz gerekir.
 
Son düzenleme:

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst