Ctrl+P //輸入關鍵字就可以開啟檔案,不用打得很完全他還是會幫你搜尋出來
Ctrl+w //關閉目前所在檔案
alt+數字鍵 // 檔案間切換
for sublime text 3
[ | |
{ "keys": ["ctrl+super+left"], "command": "move_tab", "args": {"mod": -1} }, | |
{ "keys": ["ctrl+super+right"], "command": "move_tab", "args": {"mod": 1} } | |
] |
import sublime, sublime_plugin, os, re | |
class FileNameComplete(sublime_plugin.EventListener): | |
def on_query_completions(self, view, prefix, locations): | |
completions = [] | |
sel = view.sel()[0].a | |
if "string" in view.syntax_name(sel): | |
pass |
$bgcolor: hsl(53,56%,87%); | |
.button-primary { | |
background: $bgcolor; | |
color: if(lightness($bgcolor) < 50%, white, black); | |
} |
SASS guide http://css-tricks.com/sass-style-guide/
介紹單一 SASS 檔的撰寫順序
...you can use this value to indicate you want to use the value of color for other properties that accept a color value: borders, box shadows, outlines, or backgrounds. This value was first supported by Opera in 2009, since then, Firefox 3.5+, Chrome 1+, and Safari 4+.
參考連結:
##概述 平台和瀏覽器支援
影音格式支援
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | |
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | |
<!--[if lte IE 9]> | |
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | |
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> | |
<![endif]--> |
{ | |
"directory": "components", | |
"analytics": false | |
} |
// 適當閱讀行距 | |
line-height: 1.7em; | |
// 齊左右 | |
text-align: justify; | |
text-justify: ideographic; | |
// 利用 text-indent 做到首段空兩隔空白 | |
margin: 0; | |
text-indent: 2em; | |
// 網頁呈現上,段落之間加上空白 | |
margin-bottom: 0.5em; |