Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Over-specified selectors create a huge nightmare. */
- .admin #content ul.form > li input[type="text"],
- .admin #content ul.form > li input[type="submit"],
- .admin #content ul.form > li textarea,
- .admin #content ul.form > li select,
- #content .standard_form ul.form > li input[type="text"],
- #content .standard_form ul.form > li input[type="password"],
- #content .standard_form ul.form > li input[type="submit"],
- #content .standard_form ul.form > li textarea,
- #content .standard_form ul.form > li select {
- border: 3px;
- padding: 2px 4px;
- }
- /* The most generic equivalent which accomplishes the same thing. */
- input,
- select,
- textarea {
- border: 3px;
- padding: 2px 4px;
- }
- /* We could gradually become more specific as we needed... */
- .admin input,
- .admin select,
- .admin textarea {
- background: #333;
- color: #ccc;
- }
Add Comment
Please, Sign In to add comment