简体   繁体   English

如何在 Twitter 导航上复制 Hover 效果阴影

[英]How to Replicate the Hover effect Shadow on Twitter Navigation

I am currently building Twitter from scratch using React and I've been trying to replicate the Hover effect on the Navigation (the round colour that appears when you hover over anything on the Nav side of the site).我目前正在使用 React 从头开始构建 Twitter,并且我一直在尝试在导航上复制 Hover 效果(当您在导航端的任何内容上出现 hover 时出现的圆形颜色)。 Please help me.请帮我。

TwitterImageScreenshot:推特图片截图:

推特图片截图

You have to apply CSS to change the background colour on Hover.您必须应用 CSS 来更改 Hover 上的背景颜色。
You can use CSS:hover Selector.您可以使用 CSS:hover 选择器。
Read more about it here: https://www.w3schools.com/cssref/sel_hover.asp在此处阅读更多信息: https://www.w3schools.com/cssref/sel_hover.asp

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

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