{"id":21384,"date":"2017-05-03T21:38:42","date_gmt":"2017-05-03T21:38:42","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=21384"},"modified":"2017-05-03T21:38:42","modified_gmt":"2017-05-03T21:38:42","slug":"css-fine-tuning-by-later-reference","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/css-fine-tuning-by-later-reference\/","title":{"rendered":"CSS:  fine tuning by later reference"},"content":{"rendered":"<h1>Tutoring web design, you deal with nuances.  The tutor tells a quick trick for when fine tuning is needed.<\/h1>\n<p>If two rules appear like so<\/p>\n<p style=\"white-space:pre-wrap;font-family:monospace;font-size:120%\">\nelement{color:red}<br \/>\nelement{color:green}\n<\/p>\n<p>the element will be green (in my experience, anyway).  That is, the later rule will be expressed.<\/p>\n<p>Therefore, when a person has a style sheet with many elements sharing the same rule<\/p>\n<p style=\"white-space:pre-wrap;font-family:monospace;font-size:120%\">\ne1,e2,e3,e4,e5{color:red}\n<\/p>\n<p>but only wants to change one of them, they can specify the one to change in a later rule<\/p>\n<p style=\"white-space:pre-wrap;font-family:monospace;font-size:120%\">\ne3{color:blue}\n<\/p>\n<p>HTH:)<\/p>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/css-tricks.com\/precedence-css-order-css-matters\/\">css-tricks.com<\/a><\/p>\n<p>Meyer, Eric A.  <u>CSS Pocket Reference<\/u>.  Sebastopol: O&#8217;Reilly Media, Inc., 2004.<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tutoring web design, you deal with nuances. The tutor tells a quick trick for when fine tuning is needed. If two rules appear like so element{color:red} element{color:green} the element will be green (in my experience, anyway). That is, the later &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/css-fine-tuning-by-later-reference\/\"> <span class=\"screen-reader-text\">CSS:  fine tuning by later reference<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1631,837],"tags":[2301],"class_list":["post-21384","post","type-post","status-publish","format-standard","hentry","category-css","category-web-design","tag-css-precedence"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/21384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=21384"}],"version-history":[{"count":6,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/21384\/revisions"}],"predecessor-version":[{"id":21390,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/21384\/revisions\/21390"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=21384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=21384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=21384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}