Advertisement
KodingKid

CSS Input Forms and Surveys - Basic Scripting #24

Jun 21st, 2021
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.57 KB | None | 0 0
  1. input[type=text], select {
  2.   width: 100%;
  3.   padding: 6px 10px;
  4.   margin: 16px 0;
  5.   display: inline-block;
  6.   border: 2px solid #ccc;
  7.   border-radius: 8px;
  8.   box-sizing: border-box;
  9. }
  10.  
  11. input[type=submit] {
  12.   width: 100%;
  13.   background-color: black;
  14.   color: white;
  15.   padding: 7px 10px;
  16.   margin: 16px 0;
  17.   border: 2px solid #ccc;
  18.   border-radius: 8px;
  19.   cursor: pointer;
  20. }
  21.  
  22. input[type=submit]:hover {
  23.   background-color: black;
  24. }
  25.  
  26. div {
  27.   border-radius: 10px;
  28.   background-color: black;
  29.   padding: 10px;
  30. }
  31. /*Sorry for not making any new scripts in a while*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement