他们如何使用右侧菜单的不透明度?
http://pupunzi.com/ 他们如何使用菜单和菜单的不透明度?为什么文本可以改变不透明度而不改变菜单背景的不透明度?
http://pupunzi.com/
How do they use opacity for menu& Why text can change opacity without changing menu-background opacity?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
下面是他们使用的样式,您可以看到 rgba 颜色空间,它接受红色、绿色、蓝色和 alpha 参数,其中 alpha 是透明度通道。
}
Below is the style they use, as you can see the
rgba
color space which accepts arguments of red, green, blue and alpha, where alpha is the transparency channel.}
这是您使用 0.1 - 0.9 作为比例的第四个分组
rgba(255, 255, 255, xx)
。 0.1 为 10%,0.5 为 50%,依此类推。It is the fourth grouping
rgba(255, 255, 255, x.x)
you use 0.1 - 0.9 as your scale. 0.1 being 10%, 0.5 50% and so on.