CSS Chat Bubbles
How do I make an css chat bubbles?
Testing out :nth-child(even). What is a css chat bubbles? How do you make a css chat bubbles? This script and codes were developed by Boylett on 20 August 2022, Saturday.
CSS Chat Bubbles - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Chat Bubbles</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <ul class="chats"> <li> <em><img src="https://s.gravatar.com/avatar/1cb40ffb9de7f5b6b478d740da1e4f10?s=32" /></em> <blockquote>Hey, just testing out some CSS</blockquote> </li> <li> <em><img src="https://s.gravatar.com/avatar/370149c40507e48ba1caf4aa58dace96?s=32" /></em> <blockquote>Cool. Does it work?</blockquote> </li> <li> <em><img src="https://s.gravatar.com/avatar/1cb40ffb9de7f5b6b478d740da1e4f10?s=32" /></em> <blockquote>You tell me!</blockquote> </li> <li> <em><img src="https://s.gravatar.com/avatar/370149c40507e48ba1caf4aa58dace96?s=32" /></em> <blockquote>T'would seem that it does</blockquote> </li>
</ul>
</body>
</html>
CSS Chat Bubbles - Script Codes CSS Codes
body { background: url(http://c.boylett.uk/images/textures/dark-cotton.png) }
body:before
{ content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
}
.chats
{ width: 300px; margin: 75px auto;
}
.chats > li
{ position: relative; display: block; margin: 15px 0; padding: 0; min-height: 32px;
}
.chats > li > em
{ position: absolute; top: 0; left: 0; width: 30px; height: 30px; overflow: hidden; border: 1px solid #333; border-radius: 3px;
}
.chats > li > em:after
{ content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(0, 0, 0, .2); border-radius: 4px;
}
.chats > li > em > img
{ width: 100%; height: 100%;
}
.chats > li > blockquote
{ position: relative; display: block; margin: 0 0 0 47px; padding: 8px; background: #F00; border: 1px solid #444; background: #FFF; background: linear-gradient(to bottom, #FFF 0%, #FFF 100%); border-radius: 3px; font-size: 12px; font-family: "Arial", sans-serif; color: #222;
}
.chats > li > blockquote:after
{ content: ""; position: absolute; top: 5px; right: 100%; width: 0; height: 0; border: 4px solid transparent; border-top-color: #FFF; border-right-color: #FFF;
}
.chats > li:nth-child(even) > em
{ left: auto; right: 0;
}
.chats > li:nth-child(even) > blockquote { margin: 0 47px 0 0 }
.chats > li:nth-child(even) > blockquote:after
{ right: auto; left: 100%; border-right-color: transparent; border-left-color: #FFF;
}
Developer | Boylett |
Username | boylett |
Uploaded | August 20, 2022 |
Rating | 4 |
Size | 2,094 Kb |
Views | 28,336 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Countdown by David Jones | 2,871 Kb |
Music Player by Olia Gozha | 4,573 Kb |
Commit Button by Andrew Coyle | 3,236 Kb |
Time Tracker Widget by Martin David | 3,547 Kb |
Amusement Park Ticket | 2,032 Kb |
Automotivationals | 3,149 Kb |
Animation Experiment | 2,218 Kb |
PixCrypt.js Website | 2,998 Kb |
Form by Andrew Coyle | 2,920 Kb |
Quote App Concept by Matthew Bird | 4,937 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
RAQuote | Naderk007 | 4,412 Kb |
A Pen by Ash | Littleginger | 2,386 Kb |
Sort the Knowlege | Eprouver | 3,915 Kb |
Impress JS Algorhytmic Generator | Jeffscottward | 7,906 Kb |
Text Blocks Over Image, Updated | KatieK2 | 3,122 Kb |
Blank Starter | Mhartington | 2,171 Kb |
Nav Test -- cats 1 | Payls | 4,735 Kb |
Fun animations with CSS3 | Minimalmonkey | 2,360 Kb |
Simple checkbox style | Vncnz | 2,628 Kb |
Resizable SASS Icons | Marianarlt | 7,611 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!