zoukankan      html  css  js  c++  java
  • sass编译

    Sass can't be directly interpreted by your browser, so it must first be converted, or compiled, to CSS before the browser can directly understand it.

    Compiling refers to converting code to lower level code so that it can be executed. By compiling SCSS to CSS, it can be interpreted by your browser and the results will appear on a webpage.

    Before we dive into writing Sass, let's first learn how to compile it to CSS by typing the following command in the terminal and pressing enter:

    The sass command above takes in two arguments:

    1. The input (main.scss)
    2. The location of where to place that output (main.css)

    Make sure to look closely at the extensions of each file in the command above.

    From this point on, any Sass code you write will be auto-compiled anytime you click the "Run" button. This will allow us to focus strictly on writing code.

    Even though you won't be compiling the code manually everytime you write Sass in this course, be aware that it's happening for you in the background.

  • 相关阅读:
    cookie和session区别
    jsp编写页面时常见错误提示
    web处理jsp文件的三个阶段
    JSP页面元素
    B/S与C/S区别
    url组成部分
    css选择器
    ol,ul,dl,table标签的基本语法
    剑指offer-把二叉树打印成多行
    剑指offer-从上往下打印二叉树
  • 原文地址:https://www.cnblogs.com/greatluoluo/p/5662639.html
Copyright © 2011-2022 走看看