2022年1月3日解決済み

h1, h2 :: before{} という書き方は正しいですか?

ユーザー

説明では、

h1::before,
h2::before {
  content: '- ';
}

とあり、

h1, h2 :: before {
  content:'- '
} 

ではできませんでしたが、疑似クラスは

h1::before,
h2::before{ ... }

としないとダメなのでしょうか?

スタッフ

この回答を見るにはプレミアムプランへの登録が必要です

プレミアムプランとは?