<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div class="radio-toolbar">
<label for="mylabel-1"><input type="radio" id="mybutton-1" checked>All</label>
<label for="mylabel-2"><input type="radio" id="mybutton-2" >Open</label>
<label for="mylabel-2"><input type="radio" id="mybutton-3" >Archived</label>
</div>
</body>
</html>
我想添加CSS樣式來輸入單選按鈕裏面的標籤,我不想添加CSS到外部標籤** **是否有可能?如何添加樣式到輸入標籤內的無線電元素是否有可能?
yes'label input [type = radio] {...}' –
可以舉個例子嗎? – Venky559