JSFiddle - React, Tailwind, and code Playground

by jakie8

HTML

<div class="container">
    <header>
        <div class="moi"><img src="http://gravatar.com/avatar/faab40d5eb366671c4d3c14eb5246134"></div>
        <b>jakiestfu</b>
        <span>I code and shit</span>
    </header>
</div>

CSS

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);

body{
    background:#fafafa;
    margin: 0;
    padding: 0;
}

.container{
    width:500px;
    margin:0 auto;
}

header{
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    width: 275px;
    margin: 20px auto;
}
header b{
    text-transform:uppercase;
    letter-spacing:1px;
    display:block;
}
header span{
    color: #999;
}
header .moi{
    float: left;
    border-radius: 50px;
    overflow: hidden;
    margin-right: 20px;
    margin-top: 2px;
}
header .moi img{
   
    display: block;
    width: 60px;
}

JavaScript

$.ajax({
    url: 'https://api.github.com/users/jakiestfu/repos',
    dataType: 'jsonp',
    success: function(res){
        console.log(res);
    }
});