简体   繁体   English

将CSS应用于<select>和<option>标记角度

[英]Apply CSS to <select> and <option> tag in angular

I want the dropdown list to look something like this.我希望下拉列表看起来像这样。

在此处输入图片说明

I am able to apply the hover effect but I cannot figure out how to move the dropdown list/container downwards and also how to make the edges of the container rounded and give specific border我可以应用悬停效果,但无法弄清楚如何向下移动下拉列表/容器,以及如何使容器的边缘变圆并指定边界

I want a CSS only solution for this, is that even possible?我想要一个仅CSS的解决方案,这有可能吗?

I want the dropdown list to look something like this.我希望下拉列表看起来像这样。

在此处输入图片说明

I am able to apply the hover effect but I cannot figure out how to move the dropdown list/container downwards and also how to make the edges of the container rounded and give specific border我可以应用悬停效果,但无法弄清楚如何向下移动下拉列表/容器,以及如何使容器的边缘变圆并指定边界

I want a CSS only solution for this, is that even possible?我想要一个仅CSS的解决方案,这有可能吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM