Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html #13

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Html #13

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
161 changes: 161 additions & 0 deletions CSS Platzi GAme
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# challenge-prework-frontend
🎮 Platzi Game css

body {
margin: 0;
padding-left: 0;
border: 0;
background: #E5E5E5
}

.ellipse {
width: 10px;
width: 60px;
height: 36px;
left: -230px;
top: 933px;
font-size: 24px;
line-height: 36px
}

h1{
display: block;
position: absolute;
width: 368px;
height: 90px;
left: 536px;
top: 103px;
font-family:Poppins;
font-style: normal;
font-size: 60px;
line-height: 90px;


}
.container{
text-align: center;
width: 0px;
height: 0px;
left: 0px;
top: 0px;
}

.player{
position: center;;
}

#first-player{
position: absolute;
width: 467px;
height: 582px;
left: 182px;
top: 269px;
background: #43D8C9;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 20px;
}


.player__card--title{
text-align: center;
height: 54px;
left: 346px;
top: 308px;
font-size: 36px;
line-height: 54px;
color: #FFFFFF;
}

.player_info-action{
width: 215px;
height: 50px;
left: 231px;
top: 465px;
background: #1A46E5;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 30px;
}

.player_info-acction_life{
width: 108px;
height: 44px;
left: 234px;
top: 468px;
background: #ff89bb;
border-radius: 30px 0px 0px 30px ;
}

.player_info-acction_life_percentage span{
width: 66px;
height: 45px;
left: 313px;
top: 420px;
font-size: 30px;
line-height: 45px;
color: #F7f7f7;
}

.player_info-action_life_rect{
width: 370px;
height: 231px;
left: 231px;
top: 572px;
background: #ffffff;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 20px;
}

.player__info-action__play{
position: absolute;
width: 120px;
height: 120px;
left: 481px;
top: 407px;
background:#1A46E5 ;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 100px;
}

.playeer_info-action_play--text{
width: 81px;
height: 54px;
left: 502px;
top: 440px;
font-family:Poppins;
font-style: normal;
font-weight: bold;
font-size: 36px;
line-height: 54px;
}

.player_image{
position: relative;
width: 2090px;
height: 17700px;
left: 520px;
top: 599px;
}

#second-player{
position: absolute;
width: 467px;
height: 582px;
left: 791px;
top: 269px;
background: #FFBD11;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 20px;
}

footer {
bottom: 0;
}

#container-footer-all{
align-items: flex-end;
}
Binary file added Platzi Game/css/Ellipse 27.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 Platzi Game/css/Player1.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 Platzi Game/css/Player2.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 Platzi Game/css/github .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 Platzi Game/css/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
161 changes: 161 additions & 0 deletions Platzi Game/css/mainPlay.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
body {
margin: 0;
padding-left: 0;
border: 0;
background: #E5E5E5
}

.ellipse {
width: 10px;
width: 60px;
height: 36px;
left: -230px;
top: 933px;
font-size: 24px;
line-height: 36px
}

h1{
display: block;
position: absolute;
width: 368px;
height: 90px;
left: 536px;
top: 103px;
font-family:Poppins;
font-style: normal;
font-size: 60px;
line-height: 90px;


}
.container{
text-align: center;
width: 0px;
height: 0px;
left: 0px;
top: 0px;
}

.player{
position: center;;
}

#first-player{
position: absolute;
width: 467px;
height: 582px;
left: 182px;
top: 269px;
background: #43D8C9;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 20px;
}


.player__card--title{
text-align: center;
height: 54px;
left: 346px;
top: 308px;
font-size: 36px;
line-height: 54px;
color: #FFFFFF;
}

.player_info-action{
width: 215px;
height: 50px;
left: 231px;
top: 465px;
background: #1A46E5;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 30px;
}

.player_info-acction_life{
width: 108px;
height: 44px;
left: 234px;
top: 468px;
background: #ff89bb;
border-radius: 30px 0px 0px 30px ;
}

.player_info-acction_life_percentage span{
width: 66px;
height: 45px;
left: 313px;
top: 420px;
font-size: 30px;
line-height: 45px;
color: #F7f7f7;
}

.player_info-action_life_rect{
width: 370px;
height: 231px;
left: 231px;
top: 572px;
background: #ffffff;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 20px;
}

.player__info-action__play{
position: absolute;
width: 120px;
height: 120px;
left: 481px;
top: 407px;
background:#1A46E5 ;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 100px;
}

.playeer_info-action_play--text{
width: 81px;
height: 54px;
left: 502px;
top: 440px;
font-family:Poppins;
font-style: normal;
font-weight: bold;
font-size: 36px;
line-height: 54px;
}

.player_image{
position: relative;
width: 2090px;
height: 17700px;
left: 520px;
top: 599px;
}

#second-player{
position: absolute;
width: 467px;
height: 582px;
left: 791px;
top: 269px;
background: #FFBD11;
border: 3px solid #000000;
box-sizing: border-box;
border-radius: 20px;
}

footer {
text-align: right;
position: absolute;
bottom: 0;
}

#container-footer-all{

}

Binary file added Platzi Game/css/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions Platzi Game/indexPlay.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Platzi Game</title>
<link rel="stylesheet" href="css/mainPlay.css">
</head>
<body>
<figure class="ellipse">
<img src="/css/Ellipse 27.png" alt="stylesheet">
</figure>
<header>
<h1>Platzi Game</h1>
</header>
<main class="container">
<div class="player">
<div id="first-player">
<h2 class="player__card--title">Player 1</h2>
<div class="player__info-action">
<div class="player__info-action__life">
<div class="player__info-action__life__percentage">
<span>100%</span>
<div class="player__info-action__life__rect">
<div class="player__info-action__play">
<h3 class="player__info-action__play--text">Play</h3>
</div>
</div>
</div>
<div class="player__image"><img src="/css/Player1.png" alt="stylesheet"></div>
</div>
</div>
</div>
</div>
<div class="player">
<div id="second-player">
<h2 class="player__card--title">Player 2</h2>
<div class="player__info-action">
<div class="player__info-action__life">
<div class="player__info-action__life__percentage">
<span>100%</span>
<div class="player__info-action__life__rect">
<div class="player__info-action__play">
<p class="player__info-action__play--text">Play</p>
</div>
</div>
<div class="player__image"><img src="/css/Player2.png" alt="stylesheet"></div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div id ="container-footer-all">
<div>
<h3>javitecsis@github.io</h3>
</div>
<div class="github">
<a href="https://github.com/javitecsis"target="_blank"><img src="/css/github .png"></a>
</div>
<div clas="twitter">
<a href="https://twitter.com/javitecsis" target="_blank"><img src="./css/twitter.png"></a>
</div>
<div class="instagram">
<a href="https://instagram.com/javitecsis" target="_blank"><img src="./css/instagram.png"></a>
</div>
</div>
</footer>
<script src="./game.js"></script>
</body>
</html>
Loading