Tutorials
Eine immer größer werdende Tutorialdatenbank.
PHP-Fusion Core
Aktuelle PHP-Fusion Vollversionen und Updates
Addon Downloads
Alle Downloads garantiert Kostenlos
Support 24/7
24 Stunden, 7 Tage die Woche, das ganze Jahr.
CSS Buttons
Kategorie: CSS
PHP-Fusion Version: Keine
Schwierigkeitsgrad:
Zwei schöne und Simpel ausführbare CSS Buttoneffekte
Faq
Button 1HTML-Code
GeSHi: HTML
gewandelt in 0.001 Sekunden, benutzt wurde GeSHi 1.0.8.10
CSS
GeSHi: CSS
- a {
- font-family: "Helvetica", Helvetica, sans-serif;
- font-weight: bold;
- font-size: 13px;
- text-decoration: none;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- padding: 8px 19px;
- }
- a:before, a:after {
- height: 29px;
- width: 1px;
- content: '';
- position: absolute;
- margin-top: -5px;
- }
- a:before { margin-right: 19px; }
- a:after { margin-left: 19px; }
- @-moz-document url-prefix() { a:before { margin-left: -20px; } }
- a:active:before, a:active:after { display: none; }
-
-
-
- .white {
- color: #4A4A4A;
- text-shadow: 0 1px 0 white;
- background-color: #F1F1F1;
- background-image: -moz-linear-gradient(100% 100% 90deg, #E0E0E0, #F6F6F6);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F6F6F6), to(#E0E0E0));
- border: 1px solid #B2B2B2;
- border-top: 1px solid #C9C9C9;
- border-bottom: 1px solid #8F8F8F;
- -webkit-box-shadow: 0 1px 0 #C0C0C0, 0 2px 0 #BFBFBF, 0 3px 0 #BBBBBB, 0 4px 0 #B0B0B0, 0 5px 5px rgba(0,0,0,0.25), inset 0 0 2px 1px rgba(255,255,255,0.9);
- -moz-box-shadow: 0 1px 0 #C0C0C0, 0 2px 0 #BFBFBF, 0 3px 0 #BBBBBB, 0 4px 0 #B0B0B0, 0 5px 5px rgba(0,0,0,0.25), inset 0 0 2px 1px rgba(255,255,255,0.9);
- box-shadow: 0 1px 0 #C0C0C0, 0 2px 0 #BFBFBF, 0 3px 0 #BBBBBB, 0 4px 0 #B0B0B0, 0 5px 5px rgba(0,0,0,0.25), inset 0 0 2px 1px rgba(255,255,255,0.9);
- }
- .white:after {
- background-image: -moz-linear-gradient(100% 100% 90deg, #8F8F8F, #C9C9C9);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#C9C9C9), to(#8F8F8F));
- }
- .white:before {
- background-image: -moz-linear-gradient(100% 100% 90deg, #8F8F8F, #C9C9C9);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#C9C9C9), to(#8F8F8F));
- }
- .white:hover {
- -webkit-box-shadow: 0 1px 0 #C0C0C0, 0 2px 0 #BFBFBF, 0 3px 0 #BBBBBB, 0 4px 0 #B0B0B0, 0 5px 9px rgba(0,0,0,0.3), inset 0 0 2px 1px rgba(255,255,255,0.9);
- -moz-box-shadow: 0 1px 0 #C0C0C0, 0 2px 0 #BFBFBF, 0 3px 0 #BBBBBB, 0 4px 0 #B0B0B0, 0 5px 9px rgba(0,0,0,0.3), inset 0 0 2px 1px rgba(255,255,255,0.9);
- box-shadow: 0 1px 0 #C0C0C0, 0 2px 0 #BFBFBF, 0 3px 0 #BBBBBB, 0 4px 0 #B0B0B0, 0 5px 9px rgba(0,0,0,0.3), inset 0 0 2px 1px rgba(255,255,255,0.9);
- color: black;
- }
- .white:active {
- -webkit-box-shadow: 0 1px 0 #BBBBBB, 0 2px 0 #B0B0B0, 0 3px 5px rgba(0,0,0,0.25), inset 0 0 2px 1px rgba(255,255,255,0.9);
- -moz-box-shadow: 0 1px 0 #BBBBBB, 0 2px 0 #B0B0B0, 0 3px 5px rgba(0,0,0,0.25), inset 0 0 2px 1px rgba(255,255,255,0.9);
- box-shadow: 0 1px 0 #BBBBBB, 0 2px 0 #B0B0B0, 0 3px 5px rgba(0,0,0,0.25), inset 0 0 2px 1px rgba(255,255,255,0.9);
- position: relative;
- top: 2px;
- }
- .white.pressin:active {
- background-image: -moz-linear-gradient(100% 100% 90deg, #F6F6F6, #E0E0E0);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E0E0E0), to(#F6F6F6));
- }
gewandelt in 0.003 Sekunden, benutzt wurde GeSHi 1.0.8.10
Button 2
HTML-Code
GeSHi: HTML
CSS
GeSHi: CSS
- a {
- font-family: "Helvetica", Helvetica, sans-serif;
- font-weight: bold;
- font-size: 13px;
- text-decoration: none;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- padding: 8px 19px;
- }
- a:before, a:after {
- height: 29px;
- width: 1px;
- content: '';
- position: absolute;
- margin-top: -5px;
- }
- a:before { margin-right: 19px; }
- a:after { margin-left: 19px; }
- @-moz-document url-prefix() { a:before { margin-left: -20px; } }
- a:active:before, a:active:after { display: none; }
-
- .red {
- color: #510000;
- text-shadow: 0 1px 0 #F77C86;
- background-color: #F55463;
- background-image: -moz-linear-gradient(100% 100% 90deg, #F03C4C, #F96775);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F96775), to(#F03C4C));
- border: 1px solid #CA3844;
- border-top: 1px solid #E27B84;
- border-bottom: 1px solid #B80018;
- -webkit-box-shadow: 0 1px 0 #D82E3F, 0 2px 0 #D22C3D, 0 3px 0 #C82738, 0 4px 0 #B12534, 0 5px 5px rgba(0,0,0,0.4), inset 0 0 2px 1px rgba(255,255,255,0.3);
- -moz-box-shadow: 0 1px 0 #D82E3F, 0 2px 0 #D22C3D, 0 3px 0 #C82738, 0 4px 0 #B12534, 0 5px 5px rgba(0,0,0,0.4), inset 0 0 2px 1px rgba(255,255,255,0.3);
- box-shadow: 0 1px 0 1px 0 #D82E3F, 0 2px 0 #D22C3D, 0 3px 0 #C82738, 0 4px 0 #B12534, 0 5px 5px rgba(0,0,0,0.4), inset 0 0 2px 1px rgba(255,255,255,0.3);
- }
- .red:after {
- background-image: -moz-linear-gradient(100% 100% 90deg, #B80018, #E27B84);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E27B84), to(#B80018));
- }
- .red:before {
- background-image: -moz-linear-gradient(100% 100% 90deg, #B80018, #E27B84);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E27B84), to(#B80018));
- }
- .red:hover {
- -webkit-box-shadow: 0 1px 0 #D82E3F, 0 2px 0 #D22C3D, 0 3px 0 #C82738, 0 4px 0 #B12534, 0 5px 9px rgba(0,0,0,0.45), inset 0 0 2px 1px rgba(255,255,255,0.3);
- -moz-box-shadow: 0 1px 0 #D82E3F, 0 2px 0 #D22C3D, 0 3px 0 #C82738, 0 4px 0 #B12534, 0 5px 9px rgba(0,0,0,0.45), inset 0 0 2px 1px rgba(255,255,255,0.3);
- box-shadow: 0 1px 0 #D82E3F, 0 2px 0 #D22C3D, 0 3px 0 #C82738, 0 4px 0 #B12534, 0 5px 9px rgba(0,0,0,0.45), inset 0 0 2px 1px rgba(255,255,255,0.3);
- color: black;
- }
- .red:active {
- -webkit-box-shadow: 0 1px 0 #C82738, 0 2px 0 #B12534, 0 3px 5px rgba(0,0,0,0.4), inset 0 0 2px 1px rgba(255,255,255,0.3);
- -moz-box-shadow: 0 1px 0 #C82738, 0 2px 0 #B12534, 0 3px 5px rgba(0,0,0,0.4), inset 0 0 2px 1px rgba(255,255,255,0.3);
- box-shadow: 0 1px 0 #C82738, 0 2px 0 #B12534, 0 3px 5px rgba(0,0,0,0.4), inset 0 0 2px 1px rgba(255,255,255,0.3);
- position: relative;
- top: 2px;
- }
- .red.pressin:active {
- background-image: -moz-linear-gradient(100% 100% 90deg, #F96775, #F03C4C);
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F03C4C), to(#F96775));
- }
-
gewandelt in 0.002 Sekunden, benutzt wurde GeSHi 1.0.8.10
Demo ansehen
Tutorial Verlinken
URL:
BBCode:
HTML-Code:
Kommentare
Es wurden noch keine Kommentare verfasst.
Kommentar schreiben
Bitte logge dich ein, um einen Kommentar zu verfassen.
Anzeige
Anmelden
Anzeige