Html css

How To Change Opacity Of Background Color But Not Content Using CSS

Posted by Weston Ganger on January 03, 2016

When you need to change only the color of the background of an element you can use CSS’ rgba.

  /*  black with opacity of 0.6 */ 
  background-color: rgba(0, 0, 0, 0.6);

Related External Links:

Posted in HTML / CSS and Tagged with css 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts