Last active
December 25, 2015 09:59
-
-
Save synzhang/6958662 to your computer and use it in GitHub Desktop.
注释风格
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
</header> <!-- / header --> | |
<div id="wrapper"> | |
</div> <!-- / #wrapper --> | |
<div class="module"> | |
</div> <!-- / .module --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ========================================================================== | |
区块注释段 | |
========================================================================== */ | |
/* 子区块注释段 | |
-------------------------------------------------------------------------- */ | |
/** | |
* 分组注释段 | |
* 用于多行的释义或文档。 | |
* 1. 注释1。 | |
* 2. 注释2。 | |
*/ | |
.selector { | |
property1: value1; /* 1 */ | |
property2: value2; /* 2 */ | |
} | |
/* 基本注释 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// 区块注释段 | |
// ========================================================================== | |
// 子区块注释段 | |
// -------------------------------------------------------------------------- | |
// | |
// 分组注释段 | |
// 用于多行的释义或文档。 | |
// | |
// 基本注释 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A button suitable for giving a star to someone. | |
// Experimental: An alternative signup button styling used in AB Test #195. | |
// Deprecated: Styling for legacy wikis. We'll drop support for these wikis on | |
// July 13, 2007. | |
// | |
// :hover - Subtle hover highlight. | |
// .star-given - A highlight indicating you've already given a star. | |
// .star-given:hover - Subtle hover highlight on top of star-given styling. | |
// .disabled - Dims the button to indicate it cannot be used. | |
// | |
// Compatible in IE6+, Firefox 2+, Safari 4+. | |
// Compatibility untested. | |
// | |
// Styleguide 2.1.3. | |
// No styleguide reference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creates a linear gradient background, from top to bottom. | |
// | |
// $start - The color hex at the top. | |
// $end - The color hex at the bottom. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ========================================================================== | |
区块注释段 | |
========================================================================== */ | |
/* 子区块注释段 | |
-------------------------------------------------------------------------- */ | |
/** | |
* 模块简介 | |
* | |
* 具体细节 | |
* | |
* @param {string} args1 参数 1。 | |
* @param {array} args2 参数 2。 | |
* @returns void | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment