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
Binary file added Assets/Iran.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions Flags/Iran.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<title>Iran | Flags</title>
<style>
#iran{
width: 210px;
height: 120px;
background: linear-gradient(180deg,
#59995B, #59995B 40px,
white 40px, white 80px,
#DA0000 80px, #DA0000 120px);
}

#iran:before {
content: ' ';
position: relative;
display: block;
top: 50px;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='630' height='360'><g fill='%23da0000' transform='matrix(45,0,0,45,315,180)'><g id='emblem_half'><path d='M-0.54815,0.83638A0.912046,0.912046 0 0,0 0.328544,-0.722384A1,1 0 0,1 -0.54815,0.83638'/><path d='M0.618339,0.661409A0.763932,0.763932 0 0,0 0.421644,-0.741049A1,1 0 0,1 0.618339,0.661409'/><path d='M0,1 -0.05,0 0,-0.787278A0.309995,0.309995 0 0,0 0.118034,-0.688191V-0.100406L0.077809,0.892905z'/><path d='M-0.02,-0.85 0,-0.831217A0.14431,0.14431 0 0,0 0.252075,-0.967708A0.136408,0.136408 0 0,1 0,-0.924634'/></g><use xlink:href='%23emblem_half' transform='scale(-1,1)'/></g></svg>");
background-size: cover;
min-width:100px;
min-height:100px;
}

</style>
</head>
<body>
<div id="iran"></div>
</body>
</html>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ One `<div>`. Many possibilities.
| [Germany](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/Germany.html) | [ManrajGrover](https://github.com/ManrajGrover) | ![Germany](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/Germany.png) |
| [Greece](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/Greece.html) | [jdhoek](https://github.com/jdhoek) | ![Greece](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/Greece.png) |
| [Hungary](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/Hungary.html) | [jabbalaci](https://github.com/jabbalaci) | ![Hungary](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/Hungary.png) |
| [Iran](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/Iran.html) | [pi0](https://github.com/pi0) | ![Iran](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/Iran.png) |
| [Ireland](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/Ireland.html) | [skeevey](https://github.com/skeevey) | ![Ireland](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/Ireland.png) |
| [Italy](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/Italy.html) | [ManrajGrover](https://github.com/ManrajGrover) | ![Italy](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/Italy.png) |
| [Ivory Coast](https://github.com/ManrajGrover/SingleDivProject/blob/master/Flags/IvoryCoast.html) | [skeevey](https://github.com/skeevey) | ![IvoryCoast](https://github.com/ManrajGrover/SingleDivProject/blob/master/Assets/IvoryCoast.png) |
Expand Down