h3::before{
content:"";
}のように空指定(content:””;)が::beforeや::afterには必須!
.before-cat::before{
content:"□"
}のようにcontentに□を指定することで簡単に表示することもできます。
h3::before{
content:"";
}のように空指定(content:””;)が::beforeや::afterには必須!
.before-cat::before{
content:"□"
}のようにcontentに□を指定することで簡単に表示することもできます。