{"id":20999,"date":"2023-02-10T03:46:47","date_gmt":"2023-02-10T03:46:47","guid":{"rendered":"https:\/\/www.booksofall.com\/id\/?post_type=product&#038;p=20999"},"modified":"2023-02-10T03:47:31","modified_gmt":"2023-02-10T03:47:31","slug":"scalable-and-modular-architecture-for-css","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/","title":{"rendered":"Scalable and Modular Architecture for CSS"},"content":{"rendered":"<p>I have a long-lost count of how many websites I\u2019ve built. You would think after having built a few hundred of them I would have discovered the \u201cone true way\u201d of doing it. I don\u2019t think there is one true way. What I have discovered are techniques that can keep <a href=\"https:\/\/en.wikipedia.org\/wiki\/CSS\">CSS<\/a> more organized and more structured, leading to code that is easier to build and easier to maintain.<\/p>\n<p>I have been analyzing my process (and the process of those around me) and figuring out how best to structure code for projects on a larger scale. The concepts were vaguely there with the smaller sites that I had worked on but have become more concrete as a result of working on increasingly complex projects. Small sites don\u2019t often hit the same pain points as larger sites or work with larger teams; small sites aren\u2019t as complex and don\u2019t change as often. However, what I describe in these pages is an approach that works equally well for sites small and large.<\/p>\n<p><a href=\"http:\/\/smacss.com\/\">SMACSS<\/a> (pronounced \u201csmacks\u201d) is more of a style guide than a <a href=\"https:\/\/www.jstor.org\/stable\/2320705\">rigid framework<\/a>. There is no library here for you to download or install. SMACSS is a way to examine your design process and a way to fit those rigid frameworks into a flexible thought process. It is an attempt to document a consistent approach to <a href=\"https:\/\/www.lawinsider.com\/dictionary\/site-development\">site development<\/a> when using CSS. And really, who isn\u2019t building a site with<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/CSS\/First_steps\/What_is_CSS\"> CSS<\/a> these days?! Feel free to take this in its entirety or use only the parts that work best for you. Or don\u2019t use it at all. I understand that this won\u2019t be everybody\u2019s cup of tea. When it comes to web development, the answer to most questions is \u201cit depends\u201d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/smacss-2012-08-21-193wzqogr7?enforceShowPromotionBar=true&amp;p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":21003,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":""},"product_brand":[],"product_cat":[325],"product_tag":[],"class_list":{"0":"post-20999","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-html-and-css","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scalable and Modular Architecture for CSS - BooksOfAll Indonesian<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scalable and Modular Architecture for CSS - BooksOfAll Indonesian\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Indonesian\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-10T03:47:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png\" \/>\n<meta name=\"twitter:label1\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 menit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/\",\"url\":\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/\",\"name\":\"Scalable and Modular Architecture for CSS - BooksOfAll Indonesian\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png\",\"datePublished\":\"2023-02-10T03:46:47+00:00\",\"dateModified\":\"2023-02-10T03:47:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png\",\"width\":\"397\",\"height\":\"612\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/id\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/id\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Scalable and Modular Architecture for CSS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/id\/#website\",\"url\":\"https:\/\/www.booksofall.com\/id\/\",\"name\":\"BooksOfAll Indonesian\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/id\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/id\/#organization\",\"name\":\"BooksOfAll Indonesian\",\"url\":\"https:\/\/www.booksofall.com\/id\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Indonesian\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scalable and Modular Architecture for CSS - BooksOfAll Indonesian","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/","og_locale":"id_ID","og_type":"article","og_title":"Scalable and Modular Architecture for CSS - BooksOfAll Indonesian","og_url":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/","og_site_name":"BooksOfAll Indonesian","article_modified_time":"2023-02-10T03:47:31+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png","twitter_misc":{"Estimasi waktu membaca":"1 menit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/","url":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/","name":"Scalable and Modular Architecture for CSS - BooksOfAll Indonesian","isPartOf":{"@id":"https:\/\/www.booksofall.com\/id\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png","datePublished":"2023-02-10T03:46:47+00:00","dateModified":"2023-02-10T03:47:31+00:00","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/"]}]},{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#primaryimage","url":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png","contentUrl":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/02\/img_63e5bb7fe4b9c.png","width":"397","height":"612"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/id\/scalable-and-modular-architecture-for-css\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/id\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/id\/categories\/"},{"@type":"ListItem","position":3,"name":"Scalable and Modular Architecture for CSS"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/id\/#website","url":"https:\/\/www.booksofall.com\/id\/","name":"BooksOfAll Indonesian","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/id\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/id\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/id\/#organization","name":"BooksOfAll Indonesian","url":"https:\/\/www.booksofall.com\/id\/","logo":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Indonesian"},"image":{"@id":"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product\/20999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/media\/21003"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/media?parent=20999"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product_brand?post=20999"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product_cat?post=20999"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product_tag?post=20999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}