・現状
メディアクエリが一部機能しない。ber spanのfont sizeが20pxのまま
下記CSSのb-noneの部分は機能しています
・求める動き
ウィンドウサイズが767px以下になったらber spanのfontサイズが12pxになる。
以下CSS
/*スマホ用*/ @media screen and (max-width:767px) { .b-none{ margin: 0px; padding: 0px; width: 20%; max-width: 100%; height: auto; font-weight: 700; font-size: 10px; text-align: center;; } .ber span{ font-weight: 700; font-size: 12px;!important color: #fdd537; } } /*PC用*/ .ber span{ font-weight: 700; font-size: 20px; color: #fdd537; }
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/09/30 13:43