প্রতিটি চেক করা <input> এলিমেন্ট স্টাইল করতে CSS :checked সিলেক্টর ব্যবহার করুন। নিচের কোড রান করে :checked সিলেক্টর ইমপ্লিমেন্ট করুন।
উদাহরণ
<!DOCTYPE html> <html> <head> <style> input:checked { height: 20px; width: 20px; } </style> </head> <body> <p>Fav sports:</p> <form action=""> <input type = "checkbox" value = "Football">Football<br> <input type = "checkbox" value = "Cricket">Cricket<br> <input type = "checkbox" checked = "checked" value = "Tennis"> Tennis<br> <input type = "checkbox" value = "Badminton">Tennis </form> </body> </html>আউটপুট
