Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions challenge05.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.card{
border: 2px solid grey;
font-family: 'Raleway', sans-serif;
height: 335px;
margin: auto;
width: 300px;
display: flex;
flex-wrap: wrap;
border: 2px solid grey;
}

.card__img img{
width: 109%;
height: 100%;
}
.card__title{
order: 1;
text-align: center;
width: 50%;
font-size: 100%;
border-left: 2px solid grey;
}
.card__title p{
margin: 8px 5px;
font-weight: bold;
}
.card__social{
order: 0;
width: 40%;
text-align: center;
}
.card__social img{
width: 60px;
}
26 changes: 26 additions & 0 deletions challenge05.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Raleway&display=swap" rel="stylesheet">
<link rel="stylesheet" href="challenge05.css">
<title>Challenge05</title>
</head>
<body>
<section class="card">
<div class="card__img">
<img src="./perfil.jfif" alt="">
</div>
<div class="card__title">
<p>El sitio web mas impresionante</p>
<p><a href="">sitio.com</a></p>
<p>Tel +9876543210</p>
</div>
<div class="card__social">
<a href="https://facebook.com"><img src="./facebook-circled.png" alt="facebook_logo"></a>
<a href="https://twitter.com"><img src="./twitter-circled.png" alt="twitter_logo"></a>
</div>
</section>
</body>
</html>
Binary file added challenge05.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added facebook-circled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added perfil.jfif
Binary file not shown.
Binary file added twitter-circled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.