CSS background image on background color

0 votes

If this panel is chosen, a panel that I coloured blue will appear (clicked on it). In addition, I put a tiny symbol (.png picture) to that panel to show that the currently selected item has already been chosen.

The user will be aware that he has already clicked on certain panels if, for instance, he sees 10 panels and notices that 4 of them have this small indicator. So far, this is working well. The issue currently is that I am unable to both display the small sign and turn the panel blue simultaneously.

I changed the panel's colour to blue using the CSS property background: #6DB3F2 and the background image: url('images/checked.png'). However, it appears that the backdrop colour is above the image, making it impossible to see the sign.

Is it therefore possible to set z-indexes for the background color and the background image?

Jun 22, 2022 in CSS by Edureka
• 12,890 points
102 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In CSS

0 votes
0 answers

Fading in a background image using javascript or css on hover

I have so far been able to ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 12,890 points
498 views
0 votes
1 answer

How do I give text or an image a transparent background using CSS?

Use either a semi-transparent PNG or SVG ...READ MORE

answered May 27, 2022 in CSS by Edureka
• 11,450 points
125 views
0 votes
1 answer

Change color of PNG image via CSS?

The simplest one line that worked for ...READ MORE

answered Jun 1, 2022 in CSS by Edureka
• 11,450 points
2,685 views
0 votes
1 answer

Position a CSS background image x pixels from the right?

The attribute border can be used as ...READ MORE

answered Jun 10, 2022 in CSS by Edureka
• 11,450 points
231 views
0 votes
1 answer

CSS Border on PNG image with transparent parts

 There is a way to accomplish this ...READ MORE

answered Jun 13, 2022 in CSS by Edureka
• 11,450 points
1,790 views
0 votes
1 answer

Creating a Zoom Effect on an image on hover using CSS?

Try using the following code: <style> .zoom { ...READ MORE

answered Jun 17, 2022 in CSS by Edureka
• 11,450 points
649 views
0 votes
0 answers

CSS background image that can scroll

I'm attempting to make a backdrop image ...READ MORE

Jul 5, 2022 in CSS by Edureka
• 12,890 points
149 views
0 votes
1 answer

Making a dotted grid with CSS

You can use the background-position CSS property to do ...READ MORE

answered May 31, 2022 in CSS by Edureka
• 11,450 points
465 views
0 votes
1 answer

CSS shadow white line at the end of linear-gradient background

This is a byproduct of the gradient ...READ MORE

answered Jun 1, 2022 in CSS by Edureka
• 11,450 points
1,084 views
0 votes
1 answer

When to use IMG vs. CSS background-image?

You can transition a div's background image ...READ MORE

answered Jun 10, 2022 in CSS by Edureka
• 11,450 points
282 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP