Switch branches/tags
Nothing to show
Find file Copy path
7cfee3c Feb 15, 2017
1 contributor

Users who have contributed to this file

70 lines (64 sloc) 1.54 KB
<!DOCTYPE html>
<script type='text/javascript' src=''></script>
<!--<script type='text/javascript' src=''></script>-->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
body {
box-sizing: border-box;
margin: 0;
padding: 13px;
display: flex;
flex-direction: column;
max-height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
.messages {
border: 1px solid #e4e4e4;
padding: 15px;
margin-bottom: 15px;
.messages {
flex-shrink: 1;
overflow: auto;
.message {
padding: 5px 0;
.message .member {
display: inline-block;
.member {
padding-right: 10px;
position: relative;
.message-form {
display: flex;
flex-shrink: 0;
.message-form__input {
flex-grow: 1;
border: 1px solid #dfdfdf;
padding: 10px 15px;
font-size: 16px;
.message-form__button {
margin: 10px;
<div class="members-count">-</div>
<div class="members-list">-</div>
<div class="messages"></div>
<form class="message-form" onsubmit="return false;">
<input class="message-form__input" placeholder="Type a message.." type="text"/>
<input class="message-form__button" value="Send" type="submit"/>
<script src="./script.js"></script>