APD Toronto
asked on
CSS Callout Box
Hi Experts,
Is there a simple way to do a callout box (div) with CSS
Thank you.
Is there a simple way to do a callout box (div) with CSS
Thank you.
Can you provide some details as to exactly what you are looking for.
The answer to your question is of course yes. Adding a shadow to any div is a good start https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow
The answer to your question is of course yes. Adding a shadow to any div is a good start https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow
ASKER
Nathan that is what I am looking for, but can you explain what make it pointy?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I still don't get it.
In my mind, this...
will give you |_| ( a squre with no top), so how do the sides slant to join /_\
In my mind, this...
.arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid black;
}
will give you |_| ( a squre with no top), so how do the sides slant to join /_\
Is this what you are looking for?
This is what I did: All text is on the html and hiding and showing on hover.
This is what I did: All text is on the html and hiding and showing on hover.
Look at the first link in my last post. There is an animation that does a great job of explaining.
ASKER
Got it!
Are you using any libraries on your page already like Bootstrap?
Here is an example without Bootstrap:
http://cssdeck.com/labs/bv45bh6p