Created
October 26, 2017 15:53
-
-
Save tosipaulo/fc3311e11fc02a404950fbd4529b8f53 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.l-card { | |
width: 290px; | |
} | |
.card { | |
overflow: hidden; | |
border-radius: 5px; | |
border: 1px solid #d4d4d5; | |
} | |
.card__img { | |
display: block; | |
} | |
.card__content { | |
background: #fff; | |
padding: 15px; | |
} | |
.card__content--disable { | |
background: #BDADA2; | |
} | |
.card__title { | |
line-height: 3; | |
font-size: 25px; | |
} | |
.card__text { | |
color: #888 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="l-card"> | |
<article class="card"> | |
<img class="card__img" src="http://fakeimg.pl/300x250/009EEB/FFF/?text=Imagem.jpg" alt="" /> | |
<div class="card__content card__content--disable"> | |
<h1 class="card__title">Title</h1> | |
<p class="card__text">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p> | |
</div> | |
</article> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment