html tutorial - How to create triangle or caret icons using CSS - html5 - html code - html form
Answer: Use transparent color for borders
Using the mixture of transparent
and solid colours for the borders of components you can simply produce triangle or caret icons pointing up, down, left or right directions that does not have any CSS width and height. check up on the subsequent example: