Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div id="container">
	<aside>
		<header>
			<img class = "grav_logo" src ="https://gravitysupplychain.com/wp-content/uploads/2017/08/gravity-supply-chain-visibility-sofware-logo.png"/>
			<input class = "input_text" type="text" placeholder="search">
		</header>
		<ul>
			<li>
				<img class = "profile_pic" src="https://bestlivingjapan.com/wp-content/uploads/2019/11/Roppongi-Hills-Santa.jpg">
				<div>
					<h2>Santa Claus</h2>
					<h3>
						<span class="status green"></span>
						online
					</h3>
				</div>
			</li>
			<li>
				<img class = "profile_pic" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRMHNzcp_bZv0wtdDxiymg6hNxGPxVxr5lP8w&usqp=CAU" alt="">
				<div>
					<h2>Very Desperate, CEO</h2>
					<h3>
						<span class="status green"></span>
						online
					</h3>
				</div>
			</li>
		</ul>
	</aside>
	<main>
		<header>
			<img class = "profile_pic" src="https://bestlivingjapan.com/wp-content/uploads/2019/11/Roppongi-Hills-Santa.jpg" alt="">
			<div>
				<h2>Santa Claus</h2>
				<h3>
					<span class="status green"></span>
					online
				</h3>
			</div>
		</header>
		<ul id="chat">
			<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:12AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Hey there! 👋 </br>
				</div>
			</li>
			<li class="me">
				<div class="entete">
					<h3>10:12AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Woah...! Santa? Is this THE Santa? If so, I’m pretty hyped! Take it you got my letter then, right?🎅🏼
				</div>
			</li>
			<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:13AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Sure is! This Christmas, I want to automate and digitize my previously manual processes. It’s all rather new to me, so please excuse any school errors I might make! The elves assured me that using a channel-based messaging platform will avoid the spam filter pitfalls of emails and reach my target audience without wasting paper, making it a sustainable and eco-friendly option, so here goes! 

				</div>
			</li>
			<li class="me">
				<div class="entete">
					<h3>10:14AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Awesome! You rock! 🤩
				</div>
			</li>
			<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:14AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					A full twelve months have passed since I was loading my precious cargo, and an extremely challenging twelve months they’ve been too!
				</div>
			</li>
			<li class="me">
				<div class="entete">
					<h3>10:15AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Yeah, been pretty tough all-round, that’s why I wrote to you. Business has been crazy challenging, and I really need some help to ensure I stay ahead of the competition 🤦‍♂️
				</div>
			</li>
			<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:15AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Indeed, and supply chains have been severely impacted, making it business-critical to prioritize digitization and future-proof against current turbulence and any further potential disruptions or uncertainty that might come along
				</div>
			</li>
			<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:15AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					This year’s wish list from professionals like yourself is for me to help them deploy shipment tracking technology such as that provided by the Gravity platform to provide real time visibility into 🚢 shipments. Do you know, Gravity’s <a href ="https://www.gravitysupplychain.com/shipment-tracker/">Shipment Tracker</a> product significantly decreases the time and cost it takes to handle each shipment?
				</div>
			</li>
			</li>
			<li class="me">
				<div class="entete">
					<h3>10:16AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					That’s what I need! I need to cut costs, optimize processes, become more flexible to demand, improve collaboration levels, and raise efficiency rates to meet customer expectations
				</div>
			</li>
			<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:17AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Yes! Yes! However, I’ve noticed that some decision-makers are reluctant to deploy Gravity’s full solution due to current uncertainties and the subsequent need to watch budgets. Therefore, I’m incredibly excited to share Gravity’s new and ‘all singing, all dancing’ feature, which has been cleverly developed to support supply chain managers like you and is the ‘must-have’ solution not just for 2020 but into the future too!
				</div>
			</li>
<li class="me">
				<div class="entete">
					<h3>10:17AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					This sounds INCREDIBLY exciting! 💥 Tell me more about it! 
				</div>
			</li>
<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:18AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					It seems, businesses need to gain real time visibility for improved shipment forecasting, reduced costs, and the automation of processes to run a more efficient supply chain. The Gravity platform provides users with everything (and more) they expect from a global logistics platform, but what they’ve now come up with is something incredibly cool - ‘Shipment Tracker Go’!  
				</div>
			</li>
<li class="me">
				<div class="entete">
					<h3>10:18AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Is Shipment Tracker Go different then? If so, how so?
				</div>
			</li>
<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:18AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					It’s a new entry-level product that I assure you is an absolute ‘must-have.’ Can you believe users can digitize and fully optimize their supply chain for as little as USD$500 per month? Well, they can! 
				</div>
			</li>
<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:18AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div style = "font-color:black;" class="message">
					What’s more,</br></br>
	<ul class = "stgo-list">
		<li id = "stgo-point">It's highly flexible</li>
		<li id = "stgo-point">Has an intelligent shipment visibility solution which happens at the click of a button</li> 
		<li id = "stgo-point">A quick, easy, and affordable tracking alternative to the full shipment tracking feature</li> 
		<li id = "stgo-point">There is no lengthy implementation, no upfront, or any hidden costs either!</li> </ul> </br>Fantastic stuff, right?
				</div>
			</li>
<li class="me">
				<div class="entete">
					<h3>10:19AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					It sounds awesome, but is it expensive or difficult to integrate and will it enable me to provide a responsive, agile, and transparent supply chain, and a true value chain too?

				</div>
			</li>
<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:19AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Not at all! No integration is required. It’s so simple - you pay for what you need when you need it and can track your shipments fast and easily for a monthly fee of USD$500. That’s as little as USD$3 per job, which you can pay for using your credit card and cancel at any time without incurring a penalty - not that you’re likely to want to, but you’ll discover that for yourself!
				</div>
			</li>
<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:19AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					I’d love to tell you more here, but I need to get my newly digitized sleigh over to the charging station, so why not look at the <a href = "https://www.gravitysupplychain.com/">Gravity website</a> to learn more about everything they have to offer. You can learn more from this <a href = "https://share.hsforms.com/1ObGsexnBQHKpfLz_9jUzfw199bc">one-pager</a>, and I also see they’ve got a great video on there about the new Shipment Tracker GO product, which you can check out <a href = "https://youtu.be/vSgD74lEeK0">HERE</a>. You can also contact them directly to arrange a demo or have a chat about how they can help you by clicking <a href = "https://www.gravitysupplychain.com/contact-gravity-supply-chain/">HERE</a>.
				</div>
			</li>
<li class="me">
				<div class="entete">
					<h3>10:20AM, Today</h3>
					<h2>Very Desperate, CEO</h2>
					<span class="status blue"></span>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Thank you so much, Santa. Ride safe out there buddy 🛷
				</div>
			</li>
<li class="you">
				<div class="entete">
					<span class="status green"></span>
					<h2>Santa Claus</h2>
					<h3>10:20AM, Today</h3>
				</div>
				<div class="triangle"></div>
				<div class="message">
					Thanks, ‘Now Not So Desperate’ 😉 I wish you a very Merry Christmas and look forward to watching you achieve great success not only in the New Year but beyond with the gift that keeps on giving - Gravity Supply Chain Solutions!
				</div>
			</li>


		</ul>
	</main>
</div>
              
            
!

CSS

              
                body {
	overflow: hidden;
	height:auto;
}

.profile_pic {
	width: 55px;
	height: 55px;
}
.grav_logo{
	width: 170px;
	height: 35px;
	padding-left: 10px;
	margin-bottom: 15px;
	justify-content: center;
}
#container {
	width:680px;
	height:645px;
	background: #eff3f7;
	margin:0 auto;
	font-size:0;
	border-radius:5px;
	overflow:hidden;
	font-family: Arial;
	box-sizing:border-box;
}
aside{
	width:230px;
	height:645px;
	background-color:#3b3e49;
	display:inline-block;
	font-size:15px;
	vertical-align:top;
}

main{
	width:450px;
	height:645px;
	display:inline-block;
	font-size:15px;
	vertical-align:top;

}

aside header{
	padding:30px 20px;
	padding-bottom: 10px;
	box-sizing:border-box;
}
.input_text{
	width:70%;
	height:30px;
	line-height:50px;
	padding:0 50px 0 10px;
	font-size: 13px;
	background-color:#5e616a;
	border:none;
	border-radius:3px;
	color:#fff;
	background-image:url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1940306/ico_search.png);
	background-repeat:no-repeat;
	background-position:155px;
	background-size:40px;
}
aside input::placeholder{
	color:#fff;
}
aside ul{
	padding-left:0;
	margin:0;
	list-style-type:none;
	overflow-y:hidden;
	height:690px;
	box-sizing:border-box;
}
aside li{
	padding:10px 0;
	box-sizing:border-box;
}
aside li:hover{
	background-color:#5e616a;
}
h2,h3{
	margin:0;
}
aside li img{
	border-radius:50%;
	margin-left:20px;
	margin-right:8px;
}
aside li div{
	display:inline-block;
	vertical-align:top;
	margin-top:12px;
}
aside li h2{
	font-size:12px;
	color:#fff;
	font-weight:normal;
	margin-bottom:5px;
}
aside li h3{
	font-size:11px;
	color:#7e818a;
	font-weight:normal;
}

.status{
	width:8px;
	height:8px;
	border-radius:50%;
	display:inline-block;
	margin-right:7px;
}
.green{
	background-color:#58b666;
	font-family: Arial;
}
.orange{
	background-color:#ff725d;
	font-family: Arial;
}
.blue{
	background-color:#6fbced;
	margin-right:0;
	margin-left:7px;
	font-family: Arial;
}

main header{
	height:110px;
	padding:30px 20px 30px 40px;
	box-sizing:border-box;
}
main header > *{
	display:inline-block;
	vertical-align:top;
}
main header img:first-child{
	border-radius:50%;
}
main header img:last-child{
	width:24px;
	margin-top:8px;
}
main header div{
	margin-left:10px;
	margin-right:145px;
}
main header h2{
	font-size:16px;
	margin-bottom:5px;
}
main header h3{
	font-size:14px;
	font-weight:normal;
	color:#7e818a;
}

#chat{
	padding-left:0;
	margin:0;
	list-style-type:none;
	overflow-y:scroll;
	height:535px;
	border-top:2px solid #fff;
	border-bottom:2px solid #fff;
	font-family: Arial;
}
#chat li{
	padding:10px 30px;
}
#chat h2,#chat h3{
	display:inline-block;
	font-size:13px;
	font-weight:normal;
}
#chat h3{
	color:#bbb;
}
#chat .entete{
	margin-bottom:5px;
}
#chat .message{
	padding:20px;
	color:#fff;
	line-height:25px;
	max-width:90%;
	display:inline-block;
	text-align:left;
	border-radius:15px;
}
#chat .me{
	text-align:right;
}
#chat .you .message{
	background-color:#58b666;
}
#chat .me .message{
	background-color:#6fbced;
}
#chat .triangle{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 10px 10px;
}
#chat .you .triangle{
		border-color: transparent transparent #58b666 transparent;
		margin-left:15px;
}
#chat .me .triangle{
		border-color: transparent transparent #6fbced transparent;
		margin-left:335px;
}

main footer{
	height:150px;
	padding:20px 30px 10px 20px;
}
main footer textarea{
	resize:none;
	border:none;
	display:block;
	width:100%;
	height:80px;
	border-radius:3px;
	padding:20px;
	font-size:13px;
	margin-bottom:13px;
}
main footer textarea::placeholder{
	color:#ddd;
}
main footer img{
	height:30px;
	cursor:pointer;
}
main footer a{
	text-decoration:none;
	text-transform:uppercase;
	font-weight:bold;
	color:#6fbced;
	vertical-align:top;
	margin-left:333px;
	margin-top:5px;
	display:inline-block;
}

ul#stgo-list {
	line-height: 1em;

}

li#stgo-point {
	
	line-height: normal;
	padding: 7px;
	margin-left: -1em;
	list-style: none;
	list-style-type: circle;
	
}


              
            
!

JS

              
                
              
            
!
999px

Console