cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


Save Automatically?

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.

                <div id="app" class="columns">
    <div class="column">
      <tweet-component v-for="tweet in tweets" :tweet="tweet" />
              html, body {
  height: 100%;
  padding-top: 10px;
  background: #e6ecf1;

#app {
  height: 100%;
  padding-top: 0px;
  text-align: center;

#app .button {
  margin-bottom: 20px;

#app .tweet {
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 15px;

#app .box {
  margin-bottom: 0;
  border-radius: 0;

#app .content small {
  color: #00d1b2;

#app img {
  border-radius: 30px;

#app .level-item {
  padding-left: 10px;
  color: #00d1b2;

#app input:focus {
  border-color: #00d1b2;  

#app .likes {
  padding: 0 7.5px;

#app input {
  font-weight: bold;

#app .tweets-move {
  transition: transform 1s;
              const tweets = [
    id: 1,
    name: 'James',
    handle: '@jokerjames',
    img: 'https://semantic-ui.com/images/avatar2/large/matthew.png',
    tweet: "If you don't succeed, dust yourself off and try again.",
    likes: 10,
    id: 2,
    name: 'Fatima',
    handle: '@fantasticfatima',
    img: 'https://semantic-ui.com/images/avatar2/large/molly.png',
    tweet: 'Better late than never but never late is better.',
    likes: 12,
    id: 3,
    name: 'Xin',
    handle: '@xeroxin',
    img: 'https://semantic-ui.com/images/avatar2/large/elyse.png',
    tweet: 'Beauty in the struggle, ugliness in the success.',
    likes: 18,

Vue.component('tweet-component', {
  template: `
    <div class="tweet">
      <div class="box">
        <article class="media">
          <div class="media-left">
            <figure class="image is-64x64">
              <img :src="tweet.img" alt="Image">
          <div class="media-content">
            <div class="content">
                <strong>{{tweet.name}}</strong> <small>{{tweet.handle}}</small>
              <div class="level-left">
                <a class="level-item">
                  <span class="icon is-small"><i class="fas fa-heart"></i></span>
                  <span class="likes">{{tweet.likes}}</span>
  props: {
    tweet: Object

new Vue({
  el: '#app',
  data: {
Loading ..................