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 1

HTML-Code
GeSHi: HTML
  1. <a href="#" class="white">PHP-Fusion.at</a>
gewandelt in 0.001 Sekunden, benutzt wurde GeSHi 1.0.8.10

CSS
GeSHi: CSS
  1. a {
  2. font-family: "Helvetica", Helvetica, sans-serif;
  3. font-weight: bold;
  4. font-size: 13px;
  5. text-decoration: none;
  6. border-radius: 3px;
  7. -moz-border-radius: 3px;
  8. -webkit-border-radius: 3px;
  9. padding: 8px 19px;
  10. }
  11. a:before, a:after {
  12. height: 29px;
  13. width: 1px;
  14. content: '';
  15. position: absolute;
  16. margin-top: -5px;
  17. }
  18. a:before { margin-right: 19px; }
  19. a:after { margin-left: 19px; }
  20. @-moz-document url-prefix() { a:before { margin-left: -20px; } }
  21. a:active:before, a:active:after { display: none; }
  22.  
  23.  
  24.  
  25. .white {
  26. color: #4A4A4A;
  27. text-shadow: 0 1px 0 white;
  28. background-color: #F1F1F1;
  29. background-image: -moz-linear-gradient(100% 100% 90deg, #E0E0E0, #F6F6F6);
  30. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F6F6F6), to(#E0E0E0));
  31. border: 1px solid #B2B2B2;
  32. border-top: 1px solid #C9C9C9;
  33. border-bottom: 1px solid #8F8F8F;
  34. -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);
  35. -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);
  36. 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);
  37. }
  38. .white:after {
  39. background-image: -moz-linear-gradient(100% 100% 90deg, #8F8F8F, #C9C9C9);
  40. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#C9C9C9), to(#8F8F8F));
  41. }
  42. .white:before {
  43. background-image: -moz-linear-gradient(100% 100% 90deg, #8F8F8F, #C9C9C9);
  44. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#C9C9C9), to(#8F8F8F));
  45. }
  46. .white:hover {
  47. -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);
  48. -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);
  49. 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);
  50. color: black;
  51. }
  52. .white:active {
  53. -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);
  54. -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);
  55. 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);
  56. position: relative;
  57. top: 2px;
  58. }
  59. .white.pressin:active {
  60. background-image: -moz-linear-gradient(100% 100% 90deg, #F6F6F6, #E0E0E0);
  61. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E0E0E0), to(#F6F6F6));
  62. }
gewandelt in 0.003 Sekunden, benutzt wurde GeSHi 1.0.8.10


Button 2

HTML-Code
GeSHi: HTML
  1. <a href="#" class="red">PHP-Fusion.at</a>
gewandelt in 0.000 Sekunden, benutzt wurde GeSHi 1.0.8.10

CSS
GeSHi: CSS
  1. a {
  2. font-family: "Helvetica", Helvetica, sans-serif;
  3. font-weight: bold;
  4. font-size: 13px;
  5. text-decoration: none;
  6. border-radius: 3px;
  7. -moz-border-radius: 3px;
  8. -webkit-border-radius: 3px;
  9. padding: 8px 19px;
  10. }
  11. a:before, a:after {
  12. height: 29px;
  13. width: 1px;
  14. content: '';
  15. position: absolute;
  16. margin-top: -5px;
  17. }
  18. a:before { margin-right: 19px; }
  19. a:after { margin-left: 19px; }
  20. @-moz-document url-prefix() { a:before { margin-left: -20px; } }
  21. a:active:before, a:active:after { display: none; }
  22.  
  23. .red {
  24. color: #510000;
  25. text-shadow: 0 1px 0 #F77C86;
  26. background-color: #F55463;
  27. background-image: -moz-linear-gradient(100% 100% 90deg, #F03C4C, #F96775);
  28. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F96775), to(#F03C4C));
  29. border: 1px solid #CA3844;
  30. border-top: 1px solid #E27B84;
  31. border-bottom: 1px solid #B80018;
  32. -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);
  33. -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);
  34. 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);
  35. }
  36. .red:after {
  37. background-image: -moz-linear-gradient(100% 100% 90deg, #B80018, #E27B84);
  38. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E27B84), to(#B80018));
  39. }
  40. .red:before {
  41. background-image: -moz-linear-gradient(100% 100% 90deg, #B80018, #E27B84);
  42. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E27B84), to(#B80018));
  43. }
  44. .red:hover {
  45. -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);
  46. -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);
  47. 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);
  48. color: black;
  49. }
  50. .red:active {
  51. -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);
  52. -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);
  53. 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);
  54. position: relative;
  55. top: 2px;
  56. }
  57. .red.pressin:active {
  58. background-image: -moz-linear-gradient(100% 100% 90deg, #F96775, #F03C4C);
  59. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F03C4C), to(#F96775));
  60. }
  61.  
gewandelt in 0.002 Sekunden, benutzt wurde GeSHi 1.0.8.10


Demo ansehen

Demo


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


Registrieren Passwort vergessen

RSS Feeds

Feeds abonieren

Letzte News
Letzte Threads
Anzeige

© Copyright 2024 PHP-Fusion.at | Alle Rechte vorbehalten.

© 2016 Real Space. All rights reserved | Design by W3layouts | 19,859,343 eindeutige Besuche
Powered by PHP-Fusion copyright © 2002 - 2024 by Nick Jones. Released as free software without warranties under GNU Affero GPL v3.