Sublime Text
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $(".city :selected").css("font-size","30px"); }); </script> </head> <body> <select class="mobile"> <option>Nokia</option> <option selected>SamSung</option> <option>Apple</option> <option>LG</option> </select> <select class="city"> <option>Cần Thơ</option> <option selected>Vĩnh Long</option> <option>Hậu Giang</option> <option>Sóc Trăng</option> </select> </body> </html>
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $(".city :selected").css("font-size","30px"); }); </script> </head> <body> <select class="mobile"> <option>Nokia</option> <option selected>SamSung</option> <option>Apple</option> <option>LG</option> </select> <select class="city"> <option>Cần Thơ</option> <option selected>Vĩnh Long</option> <option>Hậu Giang</option> <option>Sóc Trăng</option> </select> </body> </html>