Guest User

Untitled

a guest
May 20th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. /* Over-specified selectors create a huge nightmare. */
  2. .admin #content ul.form > li input[type="text"],
  3. .admin #content ul.form > li input[type="submit"],
  4. .admin #content ul.form > li textarea,
  5. .admin #content ul.form > li select,
  6. #content .standard_form ul.form > li input[type="text"],
  7. #content .standard_form ul.form > li input[type="password"],
  8. #content .standard_form ul.form > li input[type="submit"],
  9. #content .standard_form ul.form > li textarea,
  10. #content .standard_form ul.form > li select {
  11. border: 3px;
  12. padding: 2px 4px;
  13. }
  14.  
  15. /* The most generic equivalent which accomplishes the same thing. */
  16. input,
  17. select,
  18. textarea {
  19. border: 3px;
  20. padding: 2px 4px;
  21. }
  22.  
  23. /* We could gradually become more specific as we needed... */
  24. .admin input,
  25. .admin select,
  26. .admin textarea {
  27. background: #333;
  28. color: #ccc;
  29. }
Add Comment
Please, Sign In to add comment