The code you have is a white with low opacity.
If something white with a low opacity is above something black, you end up with a lighter shade of gray. Above red? Lighter red, etc. That is how opacity works.
Here is a simple demo.
If you want it to look ‘more white’, make it less opaque:
background:rgba(255,255,255, 0.9);
Related Contents:
- Inline SVG in CSS
- How to justify a single flexbox item (override justify-content) [duplicate]
- How to style child components from parent component’s CSS file?
- CSS: center element within a element
- Have a fixed position div that needs to scroll if content overflows
- What are -moz- and -webkit-? [duplicate]
- Use CSS to automatically add ‘required field’ asterisk to form inputs
- Add line break to ::after or ::before pseudo-element content
- CSS3 :unchecked pseudo-class
- How to use tick / checkmark symbol (✓) instead of bullets in unordered list?
- CSS Animation and Display None
- How to change a DIV padding without affecting the width/height ?
- What does !default in a css property value mean?
- how to create inline style with :before and :after
- How can I remove the outline around hyperlinks images?
- Background images: how to fill whole div if image is small and vice versa
- line-height as a percentage not working
- Why does container div insist on being slightly larger than IMG or SVG content?
- CSS: Hover one element, effect for multiple elements?
- What is the difference between the selectors “.class.class” and “.class .class”?
- Proper SCSS Asset Structure in Rails
- Tailwindcss: fixed/sticky footer on the bottom
- What’s the difference between CSS3’s :root pseudo class and html?
- How do I line up 3 divs on the same row?
- Creating CSS Global Variables : Stylesheet theme management [duplicate]
- How to make a circle around content using CSS?
- How to stick a footer to bottom in css?
- How to prevent a CSS keyframe animation from running on page load?
- How to set base size for rem
- How to make circular background using css?
- Webkit CSS Animation issue – persisting the end state of the animation? [duplicate]
- Capitalize first letter of sentences CSS
- Same font except its weight seems different on different browsers
- Bootstrap 3 – 100% height of custom div inside column
- “text-decoration” and the “:after” pseudo-element, revisited
- Webpack “OTS parsing error” loading fonts
- Angular 2 Material – How To Center Progress Spinner
- bootstrap 3 arrow on dropdown menu
- Change size of textarea
- override css for html5 form validation/required popup
- How to use pseudo selectors in material-ui?
- Styled-components organization [closed]
- How can I get input radio elements to horizontally align in react [material-ui]?
- How do you add syntax highlighting for Less in Notepad++?
- CSS3 transform on click using pure CSS
- Div with scrollbar inside div with position:fixed
- How to set minimum height for a div?
- Why can’t an element with a z-index value cover its child?
- Header div stays at top, vertical scrolling div below with scrollbar only attached to that div
- Styling the arrow on bootstrap tooltips [duplicate]