LESSモード @media 画面と (device-aspect-ratio: 16/9) { ... } @media 画面と (device-aspect-ratio: 1280/720) { ... } @media 画面と (device-aspect-ratio: 2560/1440) { ... } @ html:lang(fr-be) tr:nth-child(2+1) /* は HTML テーブルのテーブルのすべてのオッズ行を表します */img:nth-of-type(2n+1) { float: right; } img:nth-of-type(2n) { float: left; } ボディ> h2:not(:first-of-type):not(:last-of-type) html|*:not(:link):not(:visited) *:not(:hover) p::first-line {transform: topcase@foo.html foo|h1 { color: blue } /* first rule */ span[hello="Ocean"][goodbye="Land"] E[foo]{ padding:65px; } input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; // インナーパディング Chrome OSX、Safari 5で問題点:-moz-focus-inner、入力:-moz-focus-inner { // FF3/4パディングの内側のパディングとボーダーのオッディティー:0; ボーダー:0; .btn { // Recess プロパティの注文境界色による 2.0.3 のようにここにリセット: #ccc; ボーダーカラー: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25); フィールドセットスパンボタン、フィールドセットスパン入力[type="file] { フォントサイズ:12px、フォントファミリー:Arial、Helvetica、sans-serif; .rounded-corners(@radius: 5px) { ボーダーラディウス: @ radius: @ radius-radius: @ radius-web.com @radius; -moz-border-radius: @radius; } @import url("whats.css"); @light-blue: hsl(190, 50%, 65%); #menu { 位置: 絶対; 幅: 100%; z-index: 3; クリア: 両方; 表示: ブロック; 背景色: @青 境界線: 42px; 上: 2px; .box-shadow(0, 1px, 8px, 0.6); -moz-box-shadow: 0 0 0 0 #000; // firefoxが吸うため。 &.docked { 背景色: hsla(210、60%、40%、0.4); } &:hover { 背景色: @blue; } #dropdown { margin: 0 0 0 0 0 117px; padding: 0; padding-top: 5px; display: none; width: 190px; ボーダートップ: 2px ソリッド @medium; color: @highlight; ボーダー: 2px ソリッドダークエン(@medium, 25%); ボーダー左色: darken(@medium, 15%); ボーダー右色: darken(@medium, 15%); ボーダートップ幅: 0; 背景色: darken(@medium, 10%); ul {パディング: 0px; li { フォントサイズ: 14px; 表示: ブロック; テキストアライメント: 左; パッド: 0; 境界: 0; { 表示: ブロック; パッド: 0px 15px; テキストデコレーション: .border-radius(5px) .box-shadow(0, 6px, 8px) .border-radius(5px, bottom) .box-shadow(0, 6px, 8px) . LESSモードはサブモードです。 CSSモード ( css.js で定義) 解析/ハイライトテスト: ノーマル, ライブラリ.