{"id":211,"date":"2012-03-30T14:22:26","date_gmt":"2012-03-30T19:22:26","guid":{"rendered":"http:\/\/www.marcblase.com\/blog\/?p=211"},"modified":"2012-03-30T14:24:39","modified_gmt":"2012-03-30T19:24:39","slug":"css-property-ordering","status":"publish","type":"post","link":"https:\/\/ma.rcbla.se\/blog\/2012\/03\/css-property-ordering\/","title":{"rendered":"CSS Property Ordering"},"content":{"rendered":"<p>I have my own method on how I sort my CSS properties but perhaps I should adopt a much more strict methodology ala <a href=\"http:\/\/fordinteractive.com\/2009\/02\/order-of-the-day-css-properties\/\" target=\"_blank\">Andy Ford<\/a>:<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n\/*\r\nCSS Properties Ordering Guide\r\n\r\nDouble line breaks only included to separate certain property types.\r\nDo not put double line breaks in production code. \r\n\r\nAndy Ford - Aloe Studios http:\/\/aloestudios.com\r\n*\/\r\n\r\n\r\n\r\nel {\r\n\tdisplay: ;\r\n\tvisibility: ;\r\n\tfloat: ;\r\n\tclear: ;\r\n\r\n\tposition: ;\r\n\ttop: ;\r\n\tright: ;\r\n\tbottom: ;\r\n\tleft: ;\r\n\tz-index: ;\r\n\r\n\twidth: ;\r\n\tmin-width: ;\r\n\tmax-width: ;\r\n\theight: ;\r\n\tmin-height: ;\r\n\tmax-height: ;\r\n\toverflow: ;\r\n\r\n\tmargin: ;\r\n\tmargin-top: ;\r\n\tmargin-right: ;\r\n\tmargin-bottom: ;\r\n\tmargin-left: ;\r\n\r\n\tpadding: ;\r\n\tpadding-top: ;\r\n\tpadding-right: ;\r\n\tpadding-bottom: ;\r\n\tpadding-left: ;\r\n\r\n\tborder: ;\r\n\tborder-top: ;\r\n\tborder-right: ;\r\n\tborder-bottom: ;\r\n\tborder-left: ;\r\n\r\n\tborder-width: ;\r\n\tborder-top-width: ;\r\n\tborder-right-width: ;\r\n\tborder-bottom-width: ;\r\n\tborder-left-width: ;\r\n\r\n\tborder-style: ;\r\n\tborder-top-style: ;\r\n\tborder-right-style: ;\r\n\tborder-bottom-style: ;\r\n\tborder-left-style: ;\r\n\r\n\tborder-color: ;\r\n\tborder-top-color: ;\r\n\tborder-right-color: ;\r\n\tborder-bottom-color: ;\r\n\tborder-left-color: ;\r\n\r\n\toutline: ;\r\n\r\n\tlist-style: ;\r\n\r\n\ttable-layout: ;\r\n\tcaption-side: ;\r\n\tborder-collapse: ;\r\n\tborder-spacing: ;\r\n\tempty-cells: ;\r\n\r\n\tfont: ;\r\n\tfont-family: ;\r\n\tfont-size: ;\r\n\tline-height: ;\r\n\tfont-weight: ;\r\n\ttext-align: ;\r\n\ttext-indent: ;\r\n\ttext-transform: ;\r\n\ttext-decoration: ;\r\n\tletter-spacing: ;\r\n\tword-spacing: ;\r\n\twhite-space: ;\r\n\tvertical-align: ;\r\n\tcolor: ;\r\n\r\n\tbackground: ;\r\n\tbackground-color: ;\r\n\tbackground-image: ;\r\n\tbackground-repeat: ;\r\n\tbackground-position: ;\r\n\r\n\topacity: ;\r\n\r\n\tcursor: ;\r\n\r\n\tcontent: ;\r\n\tquotes: ;\r\n\t}\r\n\r\n\r\n\/* EOF *\/\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have my own method on how I sort my CSS properties but perhaps I should adopt a much more strict methodology ala Andy Ford: \/* CSS Properties Ordering Guide Double line breaks only included to separate certain property types. Do not put double line breaks in production code. Andy Ford &#8211; Aloe Studios http:\/\/aloestudios.com [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,12],"tags":[],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-coding","category-css-coding"],"_links":{"self":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":3,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ma.rcbla.se\/blog\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}