[研究][CSS] Radio Button 被選取時加上紅框顯示
2022-04-14
<style> input[type='radio']:checked { transform: scale(1.5); outline:1px solid #F00; /* Firefox, Opera, Chrome, IE8+ */ *filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=-1, OffY=0,color=#FF0000) progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=0,color=#FF0000) progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=-1,color=#FF0000) progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=1,color=#FF0000); /* IE6, IE7 */ } </style> |
(完)
沒有留言:
張貼留言