Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
It can't be applied using the CssClass item of the ListItem but you can still easily apply any style by referencing the items directly from your CSS file.style cannot be applied to the items of a dropdownlist
#myList ul li
{
...
}
<style>
#myList ul li
{
color:red;
};
.txt{color:red;}
</style>
<select id=myList>
<option>asdsa</option>
</select>
<div class="txt">Red</div>
<html>
<head>
<style type="text/css">
#option1{background-color:Red; color:White}
#option2{color:Red}
</style>
</head>
<body>
<select>
<option id="option1">Option 1</option>
<option id="option2">Option 2</option>
</select>
</body>
</html>
<html>
<head>
<style type="text/css">
#option1{background-color:green; color:White;text-align: center}
</style>
</head>
<body>
<select style="width:150px">
<option id="option1">Option 1</option>
<option id="option1">Option 2</option>
</select>
</body>
</html>
<html>
<head>
<style type="text/css">
#option1{background-color:Red; color:White; text-align: center;}
#option2{color:Red; text-align: center;}
</style>
</head>
<body>
<select>
<option id="option1">Option 1</option>
<option id="option2">Option 2</option>
</select>
</body>
</html>