<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">
<h3>This is Example of Sass Color Operations</h3>
<p>SASS stands for Syntactically Awesome Stylesheet..</p>
</div>
</body>
</html>
$color1: #333399; $color2: #CC3399; p{ color: $color1 + $color2; }
sass --watch C:\Ruby22-x64\style.scss:style.css
p { color: #ff66ff; }