Nothing Special   »   [go: up one dir, main page]

Skip to content

Commit

Permalink
Add test for image in select dropdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketj committed Jul 22, 2024
1 parent d709918 commit 4c107dc
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions controls/select-element/image-in-select-dropdown.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<html>
<head>
<style>
</style>
</head>
<body>
Non-stylable select:
<select>
<datalist>
<option>
<img src="test.jpg" alt="test" height="15px" width="15px">
❤️heart
</option>
<option>
🙂smile
</option>
</datalist>
</select>
<br>
<br>
Stylable select:
<select style="appearance:base-select">
<datalist>
<option>
<img src="test.jpg" alt="test" height="15px" width="15px">
❤️heart
</option>
<option>
🙂smile
</option>
</datalist>
</select>
</body>
</html>

0 comments on commit 4c107dc

Please sign in to comment.