Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

CSS Callout Box

Hi Experts,

Is there a simple way to do a callout box (div) with CSS

Thank you.
Avatar of Nathan Riley
Nathan Riley
Flag of United States of America image

A tooltip?  

Are you using any libraries on your page already like Bootstrap?

Here is an example without Bootstrap:
http://cssdeck.com/labs/bv45bh6p
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
Avatar of APD Toronto

ASKER

Nathan that is what I am looking for, but can you explain what make it pointy?
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I still don't get it.

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;
}

Open in new window


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.
Look at the first link in my last post. There is an animation that does a great job of explaining.
Got it!