techbits.io

css

2 posts

CSS: Set background image opacity without affecting text
#css

CSS: Set background image opacity without affecting text

You can't change the opacity of a background image without affecting the opacity of the whole object, but the workaround is simpler than you think!…

CSS: How to override styles with !important
#css

CSS: How to override styles with !important

A website can have one, or it can have many Cascading Style Sheets. If you're building using a framework that has its own set of CSS, you're more…