Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. .form-style{
  2. font: 95% Arial, Helvetica, sans-serif;
  3. max-width: 400px;
  4. margin: 10px auto;
  5. padding: 16px;
  6. background: #F7F7F7;
  7. }
  8. .form-style h1{
  9. background: #4caf50;
  10. padding: 20px 0;
  11. font-size: 140%;
  12. font-weight: 300;
  13. text-align: center;
  14. color: #fff;
  15. margin: -16px -16px 16px -16px;
  16. }
  17. .form-style input[type="text"],
  18. .form-style input[type="date"],
  19. .form-style input[type="datetime"],
  20. .form-style input[type="email"],
  21. .form-style input[type="number"],
  22. .form-style input[type="search"],
  23. .form-style input[type="time"],
  24. .form-style input[type="password"],
  25. .form-style input[type="url"],
  26. .form-style textarea,
  27. .form-style select
  28. {
  29. -webkit-transition: all 0.30s ease-in-out;
  30. -moz-transition: all 0.30s ease-in-out;
  31. -ms-transition: all 0.30s ease-in-out;
  32. -o-transition: all 0.30s ease-in-out;
  33. outline: none;
  34. box-sizing: border-box;
  35. -webkit-box-sizing: border-box;
  36. -moz-box-sizing: border-box;
  37. width: 100%;
  38. background: #fff;
  39. margin-bottom: 4%;
  40. border: 1px solid #ccc;
  41. padding: 3%;
  42. color: #555;
  43. font: 95% Arial, Helvetica, sans-serif;
  44. }
  45. .form-style input[type="text"]:focus,
  46. .form-style input[type="date"]:focus,
  47. .form-style input[type="datetime"]:focus,
  48. .form-style input[type="email"]:focus,
  49. .form-style input[type="number"]:focus,
  50. .form-style input[type="search"]:focus,
  51. .form-style input[type="time"]:focus,
  52. .form-style input[type="url"]:focus,
  53. .form-style textarea:focus,
  54. .form-style select:focus
  55. {
  56. box-shadow: 0 0 5px #4caf50;
  57. padding: 3%;
  58. border: 1px solid #4caf50;
  59. }
  60.  
  61. .form-style input[type="submit"],
  62. .form-style input[type="button"]{
  63. box-sizing: border-box;
  64. -webkit-box-sizing: border-box;
  65. -moz-box-sizing: border-box;
  66. width: 100%;
  67. padding: 3%;
  68. background: #4caf50;
  69. border-bottom: 2px solid #106713;
  70. border-top-style: none;
  71. border-right-style: none;
  72. border-left-style: none;
  73. color: #fff;
  74. }
  75. .form-style input[type="submit"]:hover,
  76. .form-style input[type="button"]:hover{
  77. background: #3d8e41;
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement