Last active
August 29, 2015 14:02
-
-
Save ahmethelvaci/564fb2e87d2640ad1f86 to your computer and use it in GitHub Desktop.
CSS Speech Bubble. Orginal : http://www.youtube.com/watch?v=Rar2u77i_yg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CSS Bubble</title> | |
<style type="text/css"> | |
.contents { | |
width: 300px; | |
} | |
.content{ | |
position: relative; | |
margin-left: 15px; | |
width: 100%; | |
padding: 10px; | |
background-color: #000; | |
color: #fff; | |
text-align: center; | |
border-radius: 10px; | |
} | |
.boom { | |
position: absolute; | |
width: 0px; | |
height: 0px; | |
left: -15px; | |
top: 10px; | |
border-top: 8px solid transparent; | |
border-bottom: 8px solid transparent; | |
border-right: 15px solid #000; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="contents"> | |
<div class="content"> | |
<p title="Sergüzeşt-i geçti ömrüm">Laylaylom yaparak geçti ömrüm</p> | |
<div class="boom"></div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment