Saltar al contenido

css vs scss vs sass vs menos lo que es mejor ejemplo de código

Ejemplo 1: sass vs scss

/* Answer to: "sass vs scss" */

/*
  The basic difference is the syntax. While SASS has a loose syntax
  with white space and no semicolons, the SCSS resembles more to CSS.
  SASS stands for Syntactically Awesome StyleSheets. It is an
  extension of CSS that adds power and elegance to the basic
  language.
  
  There's more differences but too much for me! Fortunately, someone
  else asked the same question over in StackOverflow! Here's a link
  to their answer:
  https://stackoverflow.com/questions/5654447/whats-the-difference-between-scss-and-sass
*/

Ejemplo 2: css vs scss

/* Answer to: "css vs scss" */

/*
  Sass has two syntaxes. The most commonly used syntax is known as “SCSS”
  (for “Sassy CSS”), and is a superset of CSS3's syntax. ... Inspired by
  Haml's terseness, it's intended for people who prefer conciseness over
  similarity to CSS. Instead of brackets and semicolons, it uses the
  indentation of lines to specify blocks.

  Check the full answer by clicking on the source but the main thing here is:
  SCSS is a **SUPERSET** of the CSS3's syntax.
*/
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)



Utiliza Nuestro Buscador

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *