CSS関連プロパティ (CSS)
一覧
| 概要 | 構文 | 戻り値 | 別カテゴリ |
|---|---|---|---|
| クラス追加 | .addClass( className ) .addClass( function ) 1.4 | jQuery | Attributes Manipulation |
| スタイルプロパティ 取得 | .css( propertyName ) 1.0 .css( propertyNames ) 1.9 | String | Manipulation |
| スタイルプロパティ 設定 | .css( propertyName, value ) 1.0 .css( propertyName, function ) 1.4 .css( properties ) 1.0 | jQuery | Manipulation |
| クラス有無 | .hasClass( className ) 1.2 | Boolean | Attributes Manipulation |
| 要素の高さ(内容) | .height() 1.0 | Number | Dimensions Manipulation |
| .height( value ) .height( function ) 1.4.1 | jQuery | ||
| 要素の高さ(内側) パディング部を含む | .innerHeight() 1.2.6 | Number | Dimensions Manipulation |
| .innerHeight( value ) 1.8.0 .innerHeight( function ) 1.8.0 | jQuery | ||
| 要素の幅(内側) パディング部を含む | .innerWidth() 1.2.6 | Number | Dimensions Manipulation |
| .innerWidth( value ) 1.8.0 .innerWidth( function ) 1.8.0 | jQuery | ||
| CSSカスタムプロパティ定義 | jQuery.cssHooks 1.4.3 | Object | |
| 単位なし数値CSSプロパティ リスト | jQuery.cssNumber 1.4.3 | Object | |
| セレクタ特殊文字無効化 | jQuery.escapeSelector() 3.0 | Selector | |
| 相対位置(ドキュメント) | .offset() 1.2 | Object | Manipulation |
| .offset( coordinates ) 1.4 .offset( function ) 1.4 | jQuery | ||
| 要素の高さ(外側) パディング・ボーダー(・マージン)部を含む | .outerHeight( [includeMargin ] ) 1.2.6 | Number | Dimensions Manipulation |
| .outerHeight( value ) 1.8.0 .outerHeight( function ) 1.8.0 | jQuery | ||
| 要素の幅(外側) パディング・ボーダー(・マージン)部を含む | .outerWidth( [includeMargin ] ) 1.2.6 | Number | Dimensions Manipulation |
| .outerWidth( value ) 1.8.0 .outerWidth( function ) 1.8.0 | jQuery | ||
| 相対位置(親要素) 取得 | .position() 1.2 | Object | |
| クラス削除 | .removeClass( [className ] ) 1.0 .removeClass( function ) 1.4 | jQuery | Attributes Manipulation |
| 水平スクロール位置 | .scrollLeft() 1.2.6 | Integer | Manipulation |
| .scrollLeft( value ) 1.2.6 | jQuery | ||
| 垂直スクロール位置 | .scrollTop() 1.2.6 | Number | Manipulation |
| .scrollTop( value ) 1.2.6 | jQuery | ||
| クラス 追加/削除 切替 | .toggleClass( className ) 1.0 .toggleClass( className, state ) 1.3 .toggleClass( function [, state ] ) 1.4 | jQuery | Attributes Manipulation |
| .toggleClass( [state ] ) 1.43.0 | jQuery | ||
| 要素の幅(内容) | .width() 1.0 | Number | Dimensions Manipulation |
| .width( value ) 1.0 .width( function ) 1.4.1 | jQuery |