<div class="tweet" data-style="">
<div class="tweet-header">
<div class="tweet-author">
<img class="tweet-author-image" src="https://unavatar.io/twitter/@Twitter">
<div class="tweet-author-info">
<p class="tweet-author-name">Twitter</p>
<a class="tweet-author-handler" target="_blank" href="https://twitter.com/Twitter">@Twitter</a>
</div>
</div>
<svg class="tweet-logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
<path fill="currentColor" d="M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23Z"></path>
</svg>
</div>
<div class="tweet-content">
we are working on an edit button
</div>
</div>
<div class="tweet" data-style="">
<div class="tweet-header">
<div class="tweet-author">
<img class="tweet-author-image" src="https://unavatar.io/twitter/@TwitterJP">
<div class="tweet-author-info">
<p class="tweet-author-name">Twitter Japan</p>
<a class="tweet-author-handler" target="_blank" href="https://twitter.com/TwitterJP">@TwitterJP</a>
</div>
</div>
<svg class="tweet-logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
<path fill="currentColor" d="M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23Z"></path>
</svg>
</div>
<div class="tweet-content">
こどもの頃に戻りたいって思う瞬間は?🎏
</div>
</div>
:root {
--border: rgb(234, 234, 234);
--bg-primary: white;
--text-primary: rgb(35 35 35);
--text-secondary: rgb(31, 155, 240);
}
body {
font-family: ui-sans-serif, system-ui, system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
background: #eee;
}
h1,
h2,
h4,
hr,
p {
margin: 0;
}
a {
color: inherit;
text-decoration: inherit;
}
.tweet {
width: 500px;
padding: 2rem;
margin: 2em;
color: var(--text-primary);
border: 1px solid var(--border);
border-radius: 1rem;
background: var(--bg-primary);
}
.tweet-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.tweet-author {
display: flex;
align-items: center;
}
.tweet-author-image {
width: 48px;
height: 48px;
border-radius: 9999px;
}
.tweet-author-info {
margin-left: 1rem;
}
.tweet-author-name {
line-height: 1rem;
font-weight: 500;
}
.tweet-author-handler {
line-height: 1.8rem;
color: var(--text-secondary);
}
.tweet-logo {
color: var(--text-secondary);
}
.tweet-content {
margin-top: 1rem;
}
.tweet-content a {
color: var(--text-secondary);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.