JSFiddle - React, Tailwind, and code Playground

by zerippe

HTML

<script src="https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.eot"></script>
<script src="https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.woff"></script>
<header>
  <div id="container">
    <section id="blog-title">
      <h1><a href="">Gazee</a></h1>
    </section>
    <section id="blog-title">
      <h1><a href="">Gazee</a></h1>
    </section>
  </div>
</header>

<section id="share-container">
  <div class="lsf-icon twitter">twitter</div>
  <div>facebook</div>
  <div>google+</div>
  <div>line</div>
</section>

CSS

body{
  margin: 0;
  padding: 0;
}

#container{
  background-color: #12b361;
  display: flex;
}

#container > *{
  border: 1px solid #ccc;
}

#container h1{
  margin: 0 0 0 1em;
}

#container a{
  font-family: sans-serif;
  /*font-weight: normal;*/
  font-size: 0.8em;
  text-decoration: none;
  color: #fff;
}

@font-face {
    font-family: 'LigatureSymbols';
    src: url('https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.eot?raw=true');
    src: url('https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.eot?raw=true#iefix') format('embedded-opentype'),
         url('https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.woff?raw=true') format('woff'),
         url('https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.ttf?raw=true') format('truetype'),
         url('https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.svg?raw=true#LigatureSymbols') format('svg');
    src: url('https://github.com/kudakurage/LigatureSymbols/blob/master/LigatureSymbols-2.11.ttf?raw=true') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.lsf, .lsf-icon:before {
    font-family: 'LigatureSymbols';
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
       -moz-font-smoothing: antialiased;
        -ms-font-smoothing: antialiased;
         -o-font-smoothing: antialiased;
            font-smoothing: antialiased;
}

.lsf-icon:before {
    content: attr(title);
    margin-right: .3em;
    font-size: 130%;
}

.lsf-icon.twitter:before {
  content: '\E12f';
}

#share-container{
  display: flex;
}