CSS THOUGHT BUBBLE

CSS THOUGHT BUBBLE

by Avdhut Sonpethkar

HTML

<blockquote  id="bubble_thought">
    <p> bubble with thought </p>  </blockquote >

CSS

#bubble_thought
{
 font:italic bold 12px/30px Georgia, serif;
    margin-left: 50px;
    display: block;
    margin-top: 50px;
    background: #FFFFFF;
    box-shadow: 0px 0px 10px #000000;
    -moz-box-shadow: 0px 0px 10px #000000;
    -webkit-box-shadow: 0px 0px 10px #000000;
    width: 160px;
    border: 5px solid green;
    border-radius: 160px;
    -moz-border-radius: 90px;
    -webkit-border-radius: 160px;
    position; relative;
    text-align: center;
}

#bubble_thought:after
{
   content: "  ";
    bottom:80%;
    left:5%;
    border: 5px solid green;
    height: 30px;
    width: 30px;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    position: absolute;
/*
    	content:"";
	position:absolute;
	bottom:-20px;
	left:50px;
	width:30px;
	height:30px;
	background:#075698;
	/* css3 
	-webkit-border-radius:30px;
	-moz-border-radius:30px;
	border-radius:30px;
    */
}


#bubble_thought:before
{
   content: "  ";
    top:70%;
    left:0%;
    border: 5px solid green;
    height: 10px;
    width: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    position: absolute;
/*
    	content:"";
	position:absolute;
	bottom:-20px;
	left:50px;
	width:30px;
	height:30px;
	background:#075698;
	/* css3 
	-webkit-border-radius:30px;
	-moz-border-radius:30px;
	border-radius:30px;
    */
}