HTML AND CSS, YouTube

A Pure CSS Game – You Must Build a Lighthouse

A-Pure-CSS-Game---You-Must-Build-a-Lighthouse

Coding BD given DA Pure CSS Game – You Must Build a Lighthouse. You can create your own house. We created a html 3d game tutorial. It is the most important part Of html5 game development tutorial for beginners. We have given more importance to CSS games. They used pure css effects. because they need a highly effective carousel. Thank you so much.

Source Code: https://codingbd.com

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

😍😍 Check Others Programming Video👇

➡️ Parallax Animation effects: https://www.youtube.com/watch?v=pRvNZ6aMBoo 
➡️ Parallax Animation effects: https://www.youtube.com/watch?v=pRvNZ6aMBoo 

➡️ Sticky Navigation Bar On Scroll Using Vanilla Javascript:https://www.youtube.com/watch?v=XQJSc–XgO8    

➡️ 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…

➡️ Plane animation only html css:https://www.youtube.com/watch?v=XcYlfp8sFX0 

➡️ 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…

Here is (Turning pages animation with only css) Source code. You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. write HTML code on 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>A Pure CSS Game - You Must Build a Lighthouse || Coding BD</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <input type="checkbox" id="gfxmenu" />
    <input type="radio" name="gfx" id="good" checked />
    <input type="radio" name="gfx" id="poor" />
    <x id="graphics">
      <label class="gfx" for="gfxmenu">Graphics Quality</label>
      <label class="gfx" for="good">Very Pretty</label>
      <label class="gfx" for="poor">Quite Pretty</label>
    </x>

    <sky><time>
        <sun></sun>
      </time></sky>
    <stars><i></i></stars>

    <sunset></sunset>
    <colour>

      <input type="radio" name="r23" id="cb23" class="hs house row4 col1" />
      <input type="radio" name="r23" id="cb23s" class="hs shed row4 col1" />
      <input type="radio" name="r24" id="cb24" class="hs house row4 col2" />
      <input type="radio" name="r24" id="cb24s" class="hs shed row4 col2" />
      <input type="radio" name="r25" id="cb25" class="hs house row4 col3" />
      <input type="radio" name="r23" id="cb25s" class="hs shed row4 col3" />
      <input type="radio" name="r26" id="cb26" class="hs house row4 col4" />
      <input type="radio" name="r26" id="cb26s" class="hs shed row4 col4" />
      <br />
      <input type="radio" name="r19" id="cb19" class="hs house row3 col1" />
      <input type="radio" name="r19" id="cb19s" class="hs shed row3 col1" />
      <input type="radio" name="r20" id="cb20" class="hs house row3 col2" />
      <input type="radio" name="r20" id="cb20s" class="hs shed row3 col2" />
      <input type="radio" name="r21" id="cb21" class="hs house row3 col3" />
      <input type="radio" name="r21" id="cb21s" class="hs shed row3 col3" />
      <input type="radio" name="r22" id="cb22" class="hs house row3 col4" />
      <input type="radio" name="r22" id="cb22s" class="hs shed row3 col4" />
      <br />
      <input type="radio" name="r15" id="cb15" class="hs house row2 col1" />
      <input type="radio" name="r15" id="cb15s" class="hs shed row2 col1" />
      <input type="radio" name="r16" id="cb16" class="hs house row2 col2" />
      <input type="radio" name="r16" id="cb16s" class="hs shed row2 col2" />
      <input type="radio" name="r17" id="cb17" class="hs house row2 col3" />
      <input type="radio" name="r17" id="cb17s" class="hs shed row2 col3" checked />
      <input type="radio" name="r18" id="cb18" class="hs house row2 col4" />
      <input type="radio" name="r18" id="cb18s" class="hs shed row2 col4" />
      <br />
      <input type="radio" name="r11" id="cb11" class="hs house row1 col1" />
      <input type="radio" name="r11" id="cb11s" class="hs shed row1 col1" />
      <input type="radio" name="r12" id="cb12" class="hs house row1 col2" />
      <input type="radio" name="r12" id="cb12s" class="hs shed row1 col2" />
      <input type="radio" name="r13" id="cb13" class="hs house row1 col3" />
      <input type="radio" name="r13" id="cb13s" class="hs shed row1 col3" />
      <input type="radio" name="r14" id="cb14" class="hs house row1 col4" />
      <input type="radio" name="r14" id="cb14s" class="hs shed row1 col4" />
      <br />

      <input type="radio" name="r23" id="ncb23" class="row4 col1" title="ncb23" />
      <input type="radio" name="r24" id="ncb24" class="row4 col2" title="ncb24" />
      <input type="radio" name="r25" id="ncb25" class="row4 col3" title="ncb25" />
      <input type="radio" name="r26" id="ncb26" class="row4 col4" title="ncb26" />
      <br />
      <input type="radio" name="r19" id="ncb19" class="row3 col1" title="ncb19" />
      <input type="radio" name="r20" id="ncb20" class="row3 col2" title="ncb20" />
      <input type="radio" name="r21" id="ncb21" class="row3 col3" title="ncb21" />
      <input type="radio" name="r22" id="ncb22" class="row3 col4" title="ncb22" />
      <br />
      <input type="radio" name="r15" id="ncb15" class="row2 col1" title="ncb15" />
      <input type="radio" name="r16" id="ncb16" class="row2 col2" title="ncb16" />
      <input type="radio" name="r17" id="ncb17" class="row2 col3" title="ncb17" />
      <input type="radio" name="r18" id="ncb18" class="row2 col4" title="ncb18" />
      <br />
      <input type="radio" name="r11" id="ncb11" class="row1 col1" title="ncb11" />
      <input type="radio" name="r12" id="ncb12" class="row1 col2" title="ncb12" />
      <input type="radio" name="r13" id="ncb13" class="row1 col3" title="ncb13" />
      <input type="radio" name="r14" id="ncb14" class="row1 col4" title="ncb14" />
      <br />
      <input type="radio" id="done" />

      <div class="lh">
        <light></light>
      </div>
      <div>
        <div class="main">
          <island></island>

          <tree><i></i><i></i></tree>
          <tree><i></i><i></i></tree>

          <shed>
            <label class="row1 col1 shedlabel" for="ncb11" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row1 col2 shedlabel" for="ncb12" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row1 col3 shedlabel" for="ncb13" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row1 col4 shedlabel" for="ncb14" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>

            <label class="row2 col1 shedlabel" for="ncb15" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row2 col2 shedlabel" for="ncb16" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row2 col3 shedlabel" for="ncb17" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row2 col4 shedlabel" for="ncb18" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>

            <label class="row3 col1 shedlabel" for="ncb19" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row3 col2 shedlabel" for="ncb20" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row3 col3 shedlabel" for="ncb21" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row3 col4 shedlabel" for="ncb22" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
          </shed>

          <house>

            <label class="row1 col1 houselabel" for="ncb11" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row1 col2 houselabel" for="ncb12" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row1 col3 houselabel" for="ncb13" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row1 col4 houselabel" for="ncb14" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>

            <label class="row2 col1 houselabel" for="ncb15" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row2 col2 houselabel" for="ncb16" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row2 col3 houselabel" for="ncb17" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row2 col4 houselabel" for="ncb18" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>

            <label class="row3 col1 houselabel" for="ncb19" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row3 col2 houselabel" for="ncb20" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row3 col3 houselabel" for="ncb21" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
            <label class="row3 col4 houselabel" for="ncb22" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>

            <label class="row4 col1 houselabel" for="ncb23" title="Tap to build"><i></i><i></i><i></i><i></i></label>
            <label class="row4 col2 houselabel" for="ncb24" title="Tap to build"><i></i><i></i><i></i><i></i></label>
            <label class="row4 col3 houselabel" for="ncb25" title="Tap to build"><i></i><i></i><i></i><i></i></label>
            <label class="row4 col4 houselabel" for="ncb26" title="Tap to build"><i></i><i></i><i></i><i></i></label>
          </house>

          <hbtn>

            <label class="row1 col1 buttons" for="cb11" title="Tap to build"></label>
            <label class="row1 col2 buttons" for="cb12" title="Tap to build"></label>
            <label class="row1 col3 buttons" for="cb13" title="Tap to build"></label>
            <label class="row1 col4 buttons" for="cb14" title="Tap to build"></label>

            <label class="row2 col1 buttons" for="cb15" title="Tap to build"></label>
            <label class="row2 col2 buttons" for="cb16" title="Tap to build"></label>
            <label class="row2 col3 buttons" for="cb17" title="Tap to build"></label>
            <label class="row2 col4 buttons" for="cb18" title="Tap to build"></label>

            <label class="row3 col1 buttons" for="cb19" title="Tap to build"></label>
            <label class="row3 col2 buttons" for="cb20" title="Tap to build"></label>
            <label class="row3 col3 buttons" for="cb21" title="Tap to build"></label>
            <label class="row3 col4 buttons" for="cb22" title="Tap to build"></label>

            <label class="row4 col1 buttons" for="cb23" title="Tap to build"></label>
            <label class="row4 col2 buttons" for="cb24" title="Tap to build"></label>
            <label class="row4 col3 buttons" for="cb25" title="Tap to build"></label>
            <label class="row4 col4 buttons" for="cb26" title="Tap to build"></label>
          </hbtn>

          <sbtn>

            <label class="row1 col1 buttons" for="cb11s" title="Tap to build"></label>
            <label class="row1 col2 buttons" for="cb12s" title="Tap to build"></label>
            <label class="row1 col3 buttons" for="cb13s" title="Tap to build"></label>
            <label class="row1 col4 buttons" for="cb14s" title="Tap to build"></label>

            <label class="row2 col1 buttons" for="cb15s" title="Tap to build"></label>
            <label class="row2 col2 buttons" for="cb16s" title="Tap to build"></label>
            <label class="row2 col3 buttons" for="cb17s" title="Tap to build"></label>
            <label class="row2 col4 buttons" for="cb18s" title="Tap to build"></label>

            <label class="row3 col1 buttons" for="cb19s" title="Tap to build"></label>
            <label class="row3 col2 buttons" for="cb20s" title="Tap to build"></label>
            <label class="row3 col3 buttons" for="cb21s" title="Tap to build"></label>
            <label class="row3 col4 buttons" for="cb22s" title="Tap to build"></label>
          </sbtn>
          <grass></grass>
        </div>
      </div>
      <water><i></i></water>

      <div class="lh">
        <lens></lens>
      </div>

      <text>
        <welldone>
          <label for="done">✕</label>
          <p>NICE ONE!</p>
          <p>You built a lighthouse before nightfall!</p>
        </welldone>
      </text>
      <text>
        <gameover>
          <label for="done">✕</label>
          <p>GAME OVER!</p>
          <p>Don't Forget subscribe to our channel</p>
        </gameover>
      </text>
    </colour>
    <div class="ss">
      <lens></lens>
    </div>
    <sig><i></i></sig>
</body>
</html>

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 Plane animation only html css

Leave a Reply

Your email address will not be published.