How can I include a downward arrow in my dropdown menu?
Here is the link to my current code:
https://jsfiddle.net/bvotcode/qe6L3bxr/1/
This is my CSS:
.flagdropdown { position: relative; cursor: pointer; border: 0.5px solid gray; width: 110px; position: absolute; content: "▼"; left: 50%; top: 10%; transform: translate(-50%, 50%);}
.flagdropdown-options { position: absolute; width: 100%; z-index: 10; background: #fff; }
.flagdropdown-option { padding: 5px; }
.flagdropdown-option:hover { background-color: #f0f0f0; }
.flagdropdown-position-1 {object-position: 5px; top: 55%; border-radius: 0.25rem;}
Thank you https://i.sstatic.net/1zIgw.png