<html>
<head><meta charset="UTF-8"> <title>變數預設值 - www.tw511.com</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Example using Variable Defaults</h2>
<p>Sass is an extension of CSS that adds power and elegance to the basic language..</p>
</div>
</body>
</html>
$myval1: null; $myval1: "Sass Developed by Natalie Weizenbaum and Chris Eppstein" !default; p:after { content: $myval1; }
sass --watch C:\Ruby22-x64\style.scss:style.css
p:after { content: "Sass Developed by Natalie Weizenbaum and Chris Eppstein"; }