background-colorとopacityを設定すると、テキストまで透過してしまう。
1 2 3 4 5 6 7 8 9 10 | #judge{ margin-top : 15px ; opacity : 0.5 ; background-color : #ff6347 ; width : 100% ; padding-top : 5px ; padding-bottom : 5px ; text-align : center ; color : #fff ; } |
rgbに変える。
1 2 3 4 5 6 7 8 9 | #judge{ margin-top : 15px ; background : rgb ( 255 , 99 , 71 , 0.5 ); width : 100% ; padding-top : 5px ; padding-bottom : 5px ; text-align : center ; color : #fff ; } |
ぬ、colorが#fffだから変更が目立たないorz