Javascript Tooltip / Posts /

Caption property don't know how to use "mc-caption-bg" and how it works

19
Hi Milo, 
thats relly cool to work with, but stuck in Cation Style in CSS, please tell me how it is working plus after using z-index also the ribbon isn't working. please guide me.
vipn  11 years ago   viewed: 5860    

2 Answers

0

Hello, if you're trying to create a ribbon effect using CSS and it's not working, there could be various reasons for the issue. One possibility is that the z-index property is not set correctly.

The z-index property determines the stacking order of elements on a web page. Elements with a higher z-index value will appear on top of elements with a lower z-index value. To create a ribbon effect, you often need to adjust the z-index of the ribbon element to ensure it appears above other elements.

Here's an example of how you can use z-index to create a ribbon effect:


css

.ribbon {

  position: relative;

  z-index: 1;

}


.content {

  position: relative;

  z-index: 0;

}

suika game

In this example, the "ribbon" class has a higher z-index value (1) than the "content" class (0). This ensures that the ribbon element appears on top of the content.

jerrywatlington
  one month ago
-4
Vipn, 
Your question is not specific and I don't know how I can help you.
Usually the demos and the demo code are very detailed instructions.

Milo   11 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: