HTML AND CSS, YouTube

how to create Olympic Flag design in html and css

how to create Olympic Flag design in html and css

Coding BD given how to create Olympic Flag design in html and css. You can create an Olympic Flag. We create  Olympic rings. It is the most important part Of css effects. We have given more importance to How to make Olympic rings in HTML and CSS3. They used pure css effects. because they need highly effective effects. Thank you so much.

😍😍 If You like this video Please like, share and subscribe This video.😍😍

😍😍 Check Others Programming Video👇

➡️ creative button hover effects: https://www.youtube.com/watch?v=3FbyiuhhhTI

➡️ How to Download Source code in Coding BD: https://www.youtube.com/watch?v=WXAZ-BScKBE&t=3s

➡️Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART…

➡️ Responsive Services Section: https://www.youtube.com/watch?v=wvLky…

➡️ CSS Clip Path Hover Circle Hover Effects: https://www.youtube.com/watch?v=cRSgo…

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: https://www.youtube.com/watch?v=QVMJ5…

➡️ Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF…

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuV…

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript: https://www.youtube.com/watch?v=6A6Hp…

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: https://www.youtube.com/watch?v=43FbR…

➡️Scroll top button : https://www.youtube.com/watch?v=9fDEJ…

➡️ Animated eid mubarak 2021 using Html CSS & Javascript: https://www.youtube.com/watch?v=60H2g…

Here is all Source code ( Responsive BoxServices Section Design usinhow to create Olympic Flag design in html and css ). You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. copy HTML code and pest HTML file, copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>how to create Olympic Flag design in html and css</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div class="cloud">
    </div>
    <div class="flag-pole">
        <div class="pole-topper">
        </div>
    </div>
    <div class="flag-wrapper">
        <div class="grommet1"></div>
        <div class="eyelet1"></div>
        <div class="grommet2"></div>
        <div class="eyelet2"></div>
        <div class="dott"></div>
        <div class="text">
            Good luck for the Tokyo Olympics 2021
        </div>
        <div class="ring-wrapper">
            <div class="segment blue" id="blue1"></div>
            <div class="segment blue" id="blue2"></div>
            <div class="segment yellow" id="yellow1">
            </div>
            <div class="segment yellow" id="yellow2">
            </div>
            <div class="segment black" id="black1">
            </div>
            <div class="segment black" id="black2">
            </div>
            <div class="segment green" id="green1">
            </div>
            <div class="segment green" id="green2">
            </div>
            <div class="segment red" id="red1">
            </div>
            <div class="segment red" id="red2">
            </div>
        </div>
    </div>
</body>

</html>
@import url('https://fonts.googleapis.com/css2?family=Istok+Web:[email protected];700&display=swap');
html {
    font-size: 2vw;
}

body {
    background: #99e6ff;
    min-height: 100vh;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
    font-family: 'Istok Web', sans-serif;
}

.text{
    position: absolute;
    height: 3vw;
    width: 48.5vw;
    bottom: -6vw;
    padding: 10px;
    text-align: center;
    left: 0vw;
    overflow: hidden;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #fff;
    background:#999999;
}
.dott {
    position: absolute;
    height: 2.80rem;
    width: 2.50rem;
    border-radius: 50%;
    background: #888;
    bottom: -6.6vw;
    left: -15px;
    z-index: 2;
    border-right: 0.2rem solid #777;
}

.flag-wrapper {
    background: #fff;
    height: 30vw;
    width: 50vw;
    top: 4rem;
    margin: auto;
    position: relative;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.ring-wrapper {
    position: absolute;
    height: 18vw;
    width: 38.5vw;
    top: 8vw;
    left: 5.25vw;
    overflow: hidden;
}

.segment {
    position: absolute;
    height: 2.5rem;
    width: 5rem;
    background: transparent;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    border-top: 0.6rem solid;
    border-left: 0.6rem solid;
    border-right: 0.6rem solid;
    box-shadow: inset -0.2rem 0px 0px 0px #fff, inset 0.2rem 0px 0px 0px #fff, -0.2rem 0px 0px 0px #fff,
        0.2rem 0px 0px 0px #fff;
}

.blue {
    border-color: #007ac9;
}
.yellow {
    border-color: #ffa100;
}
.black {
    border-color: #000000;
}
.green {
    border-color: #009b3a;
}
.red {
    border-color: #e10e49;
}

#blue1,
#yellow1,
#green1 {
    transform: rotate(45deg);
}

#blue2,
#yellow2,
#green2 {
    transform: rotate(45deg) rotateX(180deg);
}

#black1,
#red1 {
    transform: rotate(-45deg);
}

#black2,
#red2 {
    transform: rotate(-45deg) rotateX(180deg);
}

#blue1 {
    z-index: 3;
    top: 0.5rem;
    left: 1.1rem;
}

#blue2 {
    z-index: 1;
    top: 2.6rem;
    left: -0.99rem;
}

#yellow1 {
    z-index: 2;
    top: 3.2rem;
    left: 4.4rem;
}

#yellow2 {
    z-index: 2;
    top: 5.321rem;
    left: 2.275rem;
}

#black1 {
    z-index: 1;
    top: 0.5rem;
    left: 5.5rem;
}

#black2 {
    z-index: 3;
    top: 2.580rem;
    left: 7.6rem;
}

#green1 {
    z-index: 2;
    top: 3.215rem;
    left: 10.9rem;
}

#green2 {
    z-index: 4;
    top: 5.321rem;
    left: 8.81rem;
}

#red1 {
    z-index: 1;
    top: 0.5rem;
    left: 12rem;
}

#red2 {
    z-index: 3;
    top: 2.64rem;
    left: 14.14rem;
}

.grommet1,
.grommet2 {
    position: absolute;
    border: 0.2rem solid #999999;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    background: #99e6ff;
    box-shadow: inset 1px 1px 0px 1px rgba(0, 0, 0, 0.1);
}
.grommet2 {
    top: calc(100% - 1.1rem);
}

.cloud,
.cloud:before,
.cloud:after {
    position: absolute;
    top: -2rem;
    right: -0.5rem;
    background: rgb(255, 11, 11);
    border-radius: 50% 85%;
    height: 7rem;
    width: 7rem;
    border-bottom: 0.25rem solid #ddd;
}
.cloud{
    background: green;
}
.cloud:after {
    top: -2.5rem;
    right: 5rem;
    content: "";
}

.cloud:before {
    top: 1.5rem;
    right: -4.5rem;
    content: "";
}
.flag-pole {
    top: 3.5rem;
    left: 10rem;
    height: calc(100vh - 3.5rem);
    position: absolute;
    width: 1rem;
    background: #999999;
    border-right: 0.25rem solid #888;
}

.pole-topper {
    position: absolute;
    height: 2.25rem;
    width: 2.05rem;
    border-radius: 50%;
    background: #888;
    top: -1.75rem;
    left: -0.57rem;
    border-right: 0.2rem solid #777;
}

.eyelet1,
.eyelet2 {
    position: absolute;
    border: 0.2rem solid #888;
    border-radius: 50%;
    height: 0.5rem;
    width: 0.5rem;
    left: -1.1rem;
}

.eyelet2 {
    top: calc(100% - 1.35rem);
}

.eyelet1:before,
.eyelet2:before {
    position: absolute;
    content: "";
    height: 0.2rem;
    width: 0.3rem;
    background: #888;
    top: calc(50% - 0.1rem);
    left: -0.4rem;
}

.eyelet1:after,
.eyelet2:after {
    position: absolute;
    content: "";
    height: 0.2rem;
    width: 1.3rem;
    background: #888;
    top: 0.3rem;
    left: 0.3rem;
    transform: rotate(16deg);
    border-radius: 1rem;
}

Don’t Forget to Follow me on all Social Network

YouTube: https://www.youtube.com/channel/UCw9etYfx-25oKB_qt1fFNWw

Facebook Page: https://www.facebook.com/codingbd2021

LinkedIn: https://www.linkedin.com/in/sajjat-ho… 

GitHub: https://github.com/cgsaleh8383

You can see Animated eid mubarak

Leave a Reply

Your email address will not be published. Required fields are marked *