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

drapeau Togolais #2979

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
21 changes: 21 additions & 0 deletions Togo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title> Drapeau Togolais</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
<div class="drapeauTogolais">
<div class="bande rouge un">
<div class="etoile haut"></div>
</div>
<div class="bande verte deux"></div>
<div class="bande jaune trois"></div>
<div class="bande verte quatre"></div>
<div class="bande jaune cinq"></div>
<div class="bande verte six"></div>

</div>
</body>
</html>
69 changes: 69 additions & 0 deletions Togo/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
body{
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.drapeauTogolais {
display: grid;
grid-template: repeat( 5, 1fr) / 30% 70%;
width: 300px;
height: 150px;

}


.bande {

width: 210px;
}


.verte {
background-color: green;
}


.jaune {
background-color: yellow;
}


.rouge {
background-color: red;
display: flex;
justify-content: center;
width:90px;
height:90px;
position: relative;
}


.un {
grid-row: span 3 ;
}


.cinq {
grid-column: span 2 ;
width: 300px;
}


.six {
grid-column: span 2;
width: 300px;
}


.etoile {
background-color: white;
width: 70px;
height: 70px;
clip-path: polygon(25% 65%, 50% 0%, 75% 65%,12% 25%,88% 25%);
position : absolute;
top:23px;
}