Answers for "how to create dropdown arrow"

1

dropdown with arrow in html

<select class="select1">
    <option href="#">Dropdown</option>
    <option href="#">Dropdown</option>
    <option href="#">Dropdown</option>
    <option href="#">Dropdown</option>
</select>

<style>
    .select1{
        border: none;
        background-color: cyan;
        padding: 2px;
    }
    
    .select1:hover{
        background-color: blue;
        padding: 10px;
    }
    
</style>
Posted by: Guest on July-23-2021

Browse Popular Code Answers by Language