Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.42 KB | None | 0 0
  1. @charset "utf-8";
  2.  
  3. /*
  4.    New Perspectives on HTML and CSS, 7th Edition
  5.    Tutorial 7
  6.    Case Problem 3
  7.  
  8.    WidgetMage Form Styles
  9.    Author:
  10.    Date:  
  11.  
  12.    Filename: wm_forms.css
  13.  
  14. */
  15.  
  16. /* Field Set Styles */
  17. fieldset{
  18.   border: none;
  19.   width: 60%;
  20.   margin: 10px 0px;
  21. }
  22. fieldset legend {
  23.   background-color: rgba(232,232,232,1);
  24.   width: 100%;
  25.   margin: 2px 0px;
  26. }
  27.  
  28. /* DIV Styles */
  29. div.slider{
  30.   float: left;
  31.   width: 60%;
  32.   margin: 2px 0px;
  33. }
  34.  
  35. /* Control Styles */
  36. label{
  37.   float: left;
  38.   clear: left;
  39.   display: block;
  40.   width: 40%;
  41.   margin: 2px 0px;
  42. }
  43. input, select{
  44.   margin: 2px 0px;
  45. }
  46. input[type="range"]{
  47.   width: 60%;
  48. }
  49. select{
  50.   display: block;
  51.   float: left;
  52.   width: 120px;
  53. }
  54. input[type="color"]{
  55.   display: block;
  56.   width: 75px;
  57. }
  58. textarea{
  59.   font-size: 1.5em;
  60.   width: 100%;
  61.   height: 200px;
  62.   margin-bottom: 15px;
  63. }
  64.  
  65. /* Placeholder Styles */
  66. textarea::placeholder{
  67.   background-color: rgb(255,255,191);
  68.   color: rgb(255,151,151);
  69.   font-size: 1.5em;
  70. }
  71. textarea::-webkit-placeholder { /* Chrome */
  72.   background-color: rgb(255,255,191);
  73.   color: rgb(255,151,151);
  74.   font-size: 1.5em;
  75. }
  76. textarea:-ms-placeholder { /* IE 10+ */
  77.   background-color: rgb(255,255,191);
  78.   color: rgb(255,151,151);
  79.   font-size: 1.5em;
  80. }
  81. textarea::-moz-placeholder { /* Firefox 19+ */
  82.   background-color: rgb(255,255,191);
  83.   color: rgb(255,151,151);
  84.   font-size: 1.5em;
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement