{"id":962,"date":"2020-07-26T11:43:33","date_gmt":"2020-07-26T11:43:33","guid":{"rendered":"https:\/\/www.ubercompute.com\/blog\/?p=962"},"modified":"2020-07-29T07:00:03","modified_gmt":"2020-07-29T07:00:03","slug":"why-do-we-use-sass-instead-of-css","status":"publish","type":"post","link":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/","title":{"rendered":"Why Do We Use SASS Instead Of CSS?"},"content":{"rendered":"\n<p>What is SASS? A syntactically awesome stylesheet is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, functions, imports, and many other exciting functionalities that can make writing CSS much more powerful.<br>SASS is one of the most widely used CSS preprocessors. CSS preprocessors can extend the basic CSS features by providing you with a set of powerful functionalities that will raise your productivity in less time. SASS is an augmentation of CSS that is utilized to add power and style to the fundamental language. It is also for depicting the introduction of a report written in a language such as HTML.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SASS BENEFITS<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>It&#8217;s CSS syntax friendly<\/strong>:  If you know CSS, then you also know SASS. SASS comes with two different syntaxes: SASS itself and then SCSS, which is the most used one. SCSS syntax is CSS compatible, so you have to rename your .css file to .scss, and wow! Your first SCSS file has been created, just like that.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-sass\">*\/###### SASS Example ########*\/\n$font-stack:    Helvetica, sans-serif\n$primary-color: #333\n\nbody\n  font: 100% $font-stack\n  color: $primary-color<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-scss\">*\/###### SCSS Example ########*\/\n$font-stack:    Helvetica, sans-serif;\n$primary-color: #333;\n\nbody {\n  font: 100% $font-stack;\n  color: $primary-color;\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>It offers variable for whatever you want<\/strong>: One of the great benefits of using a CSS preprocessor is that like SASS. It can use variables. A variable allows you to store a value or a set of values, and to reuse these variables throughout your SASS files as many times you want and wherever you want. It is easy, powerful, and useful.<\/li><li><strong>It uses the nested syntax<\/strong>: Another fantastic benefit of CSS preprocessors is their improved syntax. SASS allows you to use a nested language, which is a code, that is contained within another piece of code that performs a broader function. Nesting also allows a more transparent way of targeting elements.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Benefits of nesting<\/strong>:<\/p><p>More natural syntax and more comfortable to read in most cases<\/p><p>Prevents the need to rewrite selectors multiple times<\/p><p>Better code organization and structure thanks to its visual hierarchy, which brings us more maintainable code.<\/p><\/blockquote>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>It includes Mixins<\/strong>: Mixins are like functions in other programming languages. They return a value or set of benefits, and it can take parameters, including default values. Note that SASS also has function, so do not get confused between a mixin with a function.<\/li><li><strong>You can divide and conquer<\/strong>: SASS has the @import rule. @import allows you to modularize your code, making it easier to be maintained by importing smaller SASS files. The difference between this and the CSS @import rule is that all imported SCSS files will be merged into a single CSS file, therefore, in the end, only a single HTTP call will be requested because you will be serving a separate CSS file to the webserver.<\/li><li><strong>It has a large community and is well documented<\/strong>: Another advantage of using SASS is the tremendous amount of documentation available online. From tutorials to books, SASS has all you need to learn and become an expert. One of the best starting points is the official SASS Documentation page, where you will find excellent documentation full of practical examples.<\/li><li><strong>If you know SASS, you can customize bootstrap 4<\/strong>: If you are familiar with Bootstrap, knowing SASS will give you the ability to change this web framework by merely customizing the SASS code. Sounds impressive, right? And also the good thing is that it&#8217;s super easy to do and you only have to change the value of some of the variables.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">SASS DRAWBACK<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Debugging is harder<\/strong>: SASS has a compilation step which means that CSS line numbers are irrelevant when trying to debug code. But Debug is much harder than programming which can be a considerable drawback.<\/li><li><strong>Compilation slows down development<\/strong>: Compilation times can also be prolonged, even when you are using the best tools on the fastest computer. You know that feeling you get when you refresh and don\u2019t see any changes\u2014yeah right that.<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Tooling and developer convenience<\/strong>: CSS preprocessors require extra tooling, and Code authors shouldn\u2019t be forced to use a particular editor just to be able to use the tool. That\u2019s the tail wagging the dog. Also, extra stuff adds complexity. This needs to be understood, upgraded and maintained &#8211; all of which increases cost and a higher risk of problems.<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\" start=\"5\"><li><strong>Capability and understanding<\/strong>: While CSS pre-processors and the workflows around them have become widespread, there is still a knowledge gap. Particularly, when it comes to an understanding of the trade-offs. Here\u2019s a big difference between understanding a tool, and using it effectively without introducing other problems.<\/li><li><strong>They can produce substantial CSS files<\/strong>: Source files may be small, but the generated CSS could be huge, which is what counter need to be aware that in using a CSS pre-processor, we are losing some control.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">CONCLUSION<\/h2>\n\n\n\n<p>In this article, you can see lists of benefits and drawbacks of SASS and why it is better than CSS. Becoming a SASS guru may take a bit of your time; all you need to do is look into the Bootstrap SASS files and see how SASS could turn into a complicated thing. But learning the basics and setting it up for your project won&#8217;t take you long for sure. Also, the maintenance and readability of CSS get harder as the project gets bigger. Dealing with thousands of lines of CSS rule wastes developer&#8217;s time and also raises the cost of the project. So SASS, a preprocessor, helps us deal with these problems.<\/p>\n<div class=\"wp-socializer wpsr-share-icons\" data-lg-action=\"show\" data-sm-action=\"show\" data-sm-width=\"768\"><h3>Share and Enjoy !<\/h3><div class=\"wpsr-si-inner\"><div class=\"wpsr-counter wpsrc-sz-32px\" style=\"color:#000\"><span class=\"scount\" data-wpsrs=\"\" data-wpsrs-svcs=\"facebook,twitter,linkedin,pinterest,print,pdf\"><i class=\"fa fa-share-alt\" aria-hidden=\"true\"><\/i><\/span><small class=\"stext\">Shares<\/small><\/div><div class=\"socializer sr-popup sr-count-1 sr-count-1 sr-32px sr-circle sr-opacity sr-pad\"><span class=\"sr-facebook\"><a data-id=\"facebook\" style=\"color:#ffffff;\" rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/share.php?u=\" target=\"_blank\" title=\"Share this on Facebook\"><i class=\"fab fa-facebook-f\"><\/i><span class=\"ctext\" data-wpsrs=\"\" data-wpsrs-svcs=\"facebook\"><\/span><\/a><\/span>\n<span class=\"sr-twitter\"><a data-id=\"twitter\" style=\"color:#ffffff;\" rel=\"nofollow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=%20-%20%20\" target=\"_blank\" title=\"Tweet this !\"><i class=\"fab fa-twitter\"><\/i><\/a><\/span>\n<span class=\"sr-linkedin\"><a data-id=\"linkedin\" style=\"color:#ffffff;\" rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=\" target=\"_blank\" title=\"Add this to LinkedIn\"><i class=\"fab fa-linkedin-in\"><\/i><\/a><\/span>\n<span class=\"sr-pinterest\"><a data-pin-custom=\"true\" data-id=\"pinterest\" style=\"color:#ffffff;\" rel=\"nofollow\" href=\"https:\/\/www.pinterest.com\/pin\/create\/button\/?url=&amp;media=&amp;description=\" target=\"_blank\" title=\"Submit this to Pinterest\"><i class=\"fab fa-pinterest\"><\/i><span class=\"ctext\" data-wpsrs=\"\" data-wpsrs-svcs=\"pinterest\"><\/span><\/a><\/span>\n<span class=\"sr-print\"><a data-id=\"print\" style=\"color:#ffffff;\" rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\" title=\"Print this article \"><i class=\"fa fa-print\"><\/i><\/a><\/span>\n<span class=\"sr-pdf\"><a data-id=\"pdf\" style=\"color:#ffffff;\" rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\" title=\"Convert to PDF\"><i class=\"fa fa-file-pdf\"><\/i><\/a><\/span>\n<span class=\"sr-share-menu\"><a href=\"#\" target=\"_blank\" title=\"More share links\" style=\"color:#ffffff;\" data-metadata=\"{&quot;url&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;excerpt&quot;:&quot;&quot;,&quot;image&quot;:&quot;&quot;,&quot;short-url&quot;:&quot;&quot;,&quot;rss-url&quot;:&quot;https:\\\/\\\/www.ubercompute.com\\\/blog\\\/feed\\\/&quot;,&quot;comments-section&quot;:&quot;comments&quot;,&quot;raw-url&quot;:null,&quot;twitter-username&quot;:&quot;&quot;,&quot;fb-app-id&quot;:&quot;&quot;,&quot;fb-app-secret&quot;:&quot;&quot;}\"><i class=\"fa fa-plus\"><\/i><\/a><\/span><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>What is SASS? A syntactically awesome stylesheet is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, functions, imports, and many other exciting functionalities that can make writing CSS much more powerful.SASS is one of the most widely used CSS preprocessors. CSS preprocessors can extend the basic CSS features by providing you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":966,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[10],"tags":[13,12,14,11],"class_list":["post-962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn","tag-advantage-of-using-sass-over-css","tag-benefits-of-using-sass-over-css","tag-sass-vs-css-pros-and-cons-explaned","tag-why-do-we-use-sass-over-css","entry","has-media"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why Do We Use SASS Instead Of CSS?<\/title>\n<meta name=\"description\" content=\"Learn the benefits of using SASS instead of CSS, It is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, etc\" \/>\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.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why Do We Use SASS Instead Of CSS?\" \/>\n<meta property=\"og:description\" content=\"Learn the benefits of using SASS instead of CSS, It is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, etc\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/\" \/>\n<meta property=\"og:site_name\" content=\"Ubercompute\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/ubercompute\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-26T11:43:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-29T07:00:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1012\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"ubercompute\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ubercompute\" \/>\n<meta name=\"twitter:site\" content=\"@ubercompute\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ubercompute\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/\"},\"author\":{\"name\":\"ubercompute\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#\/schema\/person\/b88b7e9b2dea490ae06786f833da7c0d\"},\"headline\":\"Why Do We Use SASS Instead Of CSS?\",\"datePublished\":\"2020-07-26T11:43:33+00:00\",\"dateModified\":\"2020-07-29T07:00:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/\"},\"wordCount\":895,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg\",\"keywords\":[\"Advantage of using sass over css\",\"Benefits of using sass over css\",\"Sass vs Css Pros and Cons explaned\",\"Why Do We Use SASS Over CSS?\"],\"articleSection\":[\"learn\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/\",\"url\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/\",\"name\":\"Why Do We Use SASS Instead Of CSS?\",\"isPartOf\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg\",\"datePublished\":\"2020-07-26T11:43:33+00:00\",\"dateModified\":\"2020-07-29T07:00:03+00:00\",\"description\":\"Learn the benefits of using SASS instead of CSS, It is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, etc\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage\",\"url\":\"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg\",\"contentUrl\":\"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg\",\"width\":1800,\"height\":1012,\"caption\":\"Why Do We Use SASS Instead Of CSS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ubercompute.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why Do We Use SASS Instead Of CSS?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#website\",\"url\":\"https:\/\/www.ubercompute.com\/blog\/\",\"name\":\"Ubercompute\",\"description\":\"Online code formatter, converters, minifiers and domain tools\",\"publisher\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ubercompute.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#organization\",\"name\":\"Ubercompute\",\"url\":\"https:\/\/www.ubercompute.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595761381070-1.png\",\"contentUrl\":\"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595761381070-1.png\",\"width\":546,\"height\":175,\"caption\":\"Ubercompute\"},\"image\":{\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/ubercompute\",\"https:\/\/x.com\/ubercompute\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#\/schema\/person\/b88b7e9b2dea490ae06786f833da7c0d\",\"name\":\"ubercompute\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ubercompute.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/415385008a2e31c1c75421c02cae634c9cad39917b6036763e56ad7f893e2976?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/415385008a2e31c1c75421c02cae634c9cad39917b6036763e56ad7f893e2976?s=96&d=mm&r=g\",\"caption\":\"ubercompute\"},\"sameAs\":[\"https:\/\/www.ubercompute.com\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why Do We Use SASS Instead Of CSS?","description":"Learn the benefits of using SASS instead of CSS, It is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, etc","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.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/","og_locale":"en_US","og_type":"article","og_title":"Why Do We Use SASS Instead Of CSS?","og_description":"Learn the benefits of using SASS instead of CSS, It is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, etc","og_url":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/","og_site_name":"Ubercompute","article_publisher":"https:\/\/facebook.com\/ubercompute","article_published_time":"2020-07-26T11:43:33+00:00","article_modified_time":"2020-07-29T07:00:03+00:00","og_image":[{"width":1800,"height":1012,"url":"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg","type":"image\/jpeg"}],"author":"ubercompute","twitter_card":"summary_large_image","twitter_creator":"@ubercompute","twitter_site":"@ubercompute","twitter_misc":{"Written by":"ubercompute","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#article","isPartOf":{"@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/"},"author":{"name":"ubercompute","@id":"https:\/\/www.ubercompute.com\/blog\/#\/schema\/person\/b88b7e9b2dea490ae06786f833da7c0d"},"headline":"Why Do We Use SASS Instead Of CSS?","datePublished":"2020-07-26T11:43:33+00:00","dateModified":"2020-07-29T07:00:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/"},"wordCount":895,"commentCount":0,"publisher":{"@id":"https:\/\/www.ubercompute.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg","keywords":["Advantage of using sass over css","Benefits of using sass over css","Sass vs Css Pros and Cons explaned","Why Do We Use SASS Over CSS?"],"articleSection":["learn"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/","url":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/","name":"Why Do We Use SASS Instead Of CSS?","isPartOf":{"@id":"https:\/\/www.ubercompute.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage"},"image":{"@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg","datePublished":"2020-07-26T11:43:33+00:00","dateModified":"2020-07-29T07:00:03+00:00","description":"Learn the benefits of using SASS instead of CSS, It is a CSS preprocessor that lets you use variables, mathematical operations, mixins, loops, etc","breadcrumb":{"@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#primaryimage","url":"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg","contentUrl":"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595764089038.jpg","width":1800,"height":1012,"caption":"Why Do We Use SASS Instead Of CSS"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ubercompute.com\/blog\/why-do-we-use-sass-instead-of-css\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ubercompute.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Why Do We Use SASS Instead Of CSS?"}]},{"@type":"WebSite","@id":"https:\/\/www.ubercompute.com\/blog\/#website","url":"https:\/\/www.ubercompute.com\/blog\/","name":"Ubercompute","description":"Online code formatter, converters, minifiers and domain tools","publisher":{"@id":"https:\/\/www.ubercompute.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ubercompute.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ubercompute.com\/blog\/#organization","name":"Ubercompute","url":"https:\/\/www.ubercompute.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ubercompute.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595761381070-1.png","contentUrl":"https:\/\/www.ubercompute.com\/blog\/wp-content\/uploads\/2020\/07\/Logopit_1595761381070-1.png","width":546,"height":175,"caption":"Ubercompute"},"image":{"@id":"https:\/\/www.ubercompute.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/ubercompute","https:\/\/x.com\/ubercompute"]},{"@type":"Person","@id":"https:\/\/www.ubercompute.com\/blog\/#\/schema\/person\/b88b7e9b2dea490ae06786f833da7c0d","name":"ubercompute","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ubercompute.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/415385008a2e31c1c75421c02cae634c9cad39917b6036763e56ad7f893e2976?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/415385008a2e31c1c75421c02cae634c9cad39917b6036763e56ad7f893e2976?s=96&d=mm&r=g","caption":"ubercompute"},"sameAs":["https:\/\/www.ubercompute.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/posts\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/comments?post=962"}],"version-history":[{"count":9,"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/posts\/962\/revisions"}],"predecessor-version":[{"id":1011,"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/posts\/962\/revisions\/1011"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/media\/966"}],"wp:attachment":[{"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/media?parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/categories?post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ubercompute.com\/blog\/wp-json\/wp\/v2\/tags?post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}