関連記事

no image

placeholder(プレースホルダー)のCSS

:placeholder-shown { color: #CCCCCC;padding-top: 4px !important; } /* Google Chrome, Safari, Opera 1 …

no image

CSS値の「initial」「inherit」「unset」「revert」の違い

CSSフレームワークを使用する際に、特定のstyleを消したい時。 急ぎ(障害対応等)でstyleを設定したい、かつ複数のセレクタが入り混じって何だか分からない時に、一旦styleを消してしまいたい時 …

no image

IE11で背景にSVG画像、background-positionが効かない

SVGタグに「preserveAspectRatio=”xMinYMid”」 ただしケースによって以下に変更する必要がある。 xMinYMin xMidYMin xMaxYMin xMinYMid x …

no image

WordPressでgoogleフォント読み込み functions

wp_enqueue_style( ‘googlefonts’, “https://fonts.googleapis.com/css2?family=Meie+Sc …

no image

何番目系CSS

種類 -child -of-type 最初 :first-child :first-of-type 最後 :last-child :last-of-type n番目 :nth-child(n) :nt …