Last active
October 8, 2022 01:46
-
-
Save mhekel/b6223f1f47ea639f47b282275e347c89 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * { | |
| box-sizing: border-box; | |
| } | |
| body { | |
| overflow: hidden; | |
| background: #000; | |
| } | |
| body .container { | |
| position: relative; | |
| width: 1200px; | |
| height: 750px; | |
| counter-reset: tab-counter 10; | |
| } | |
| body .container input[type=radio] { | |
| display: none; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(2) { | |
| width: 250px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(2) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| width: 1200px; | |
| background: #888888; | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(4) { | |
| width: 220px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(4) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(4) { | |
| width: 1170px; | |
| background: #5600b3; | |
| } | |
| body .container input[type=radio] + label:nth-child(4):after { | |
| position: absolute; | |
| content: ""; | |
| top: 77.7777777778%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #5600b3; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(6) { | |
| width: 190px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(6) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(6) { | |
| width: 1140px; | |
| background: #2500ff; | |
| } | |
| body .container input[type=radio] + label:nth-child(6):after { | |
| position: absolute; | |
| content: ""; | |
| top: 66.6666666667%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #2500ff; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(8) { | |
| width: 160px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(8) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(8) { | |
| width: 1110px; | |
| background: #64B5F6; | |
| } | |
| body .container input[type=radio] + label:nth-child(8):after { | |
| position: absolute; | |
| content: ""; | |
| top: 55.5555555556%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #64B5F6; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(10) { | |
| width: 130px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(10) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(10) { | |
| width: 1080px; | |
| background: #22a898; | |
| } | |
| body .container input[type=radio] + label:nth-child(10):after { | |
| position: absolute; | |
| content: ""; | |
| top: 44.4444444444%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #22a898; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(12) { | |
| width: 100px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(12) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(12) { | |
| width: 1050px; | |
| background: #32a822; | |
| } | |
| body .container input[type=radio] + label:nth-child(12):after { | |
| position: absolute; | |
| content: ""; | |
| top: 33.3333333333%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #32a822; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(14) { | |
| width: 70px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(14) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(14) { | |
| width: 1020px; | |
| background: #81C784; | |
| } | |
| body .container input[type=radio] + label:nth-child(14):after { | |
| position: absolute; | |
| content: ""; | |
| top: 22.2222222222%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #81C784; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(16) { | |
| width: 40px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(16) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(16) { | |
| width: 990px; | |
| background: #ffa500; | |
| } | |
| body .container input[type=radio] + label:nth-child(16):after { | |
| position: absolute; | |
| content: ""; | |
| top: 11.1111111111%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #ffa500; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(18) { | |
| width: 10px; | |
| } | |
| body .container input[type=radio]:checked + label ~ label:nth-child(18) .content { | |
| -webit-transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: opacity 0.4s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| body .container input[type=radio] + label { | |
| position: absolute; | |
| height: 100%; | |
| box-shadow: 5x 3px 4px 2px #000; | |
| cursor: pointer; | |
| -webit-transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| transition: width 1.2s cubic-bezier(0.11, 0.65, 0.04, 1); | |
| } | |
| body .container input[type=radio] + label:nth-child(2) { | |
| box-shadow: 5x 3px -4px -2px #000; | |
| } | |
| body .container input[type=radio] + label:nth-child(18) { | |
| width: 960px; | |
| background: #a82232; | |
| } | |
| body .container input[type=radio] + label:nth-child(18):after { | |
| position: absolute; | |
| content: ""; | |
| top: 0%; | |
| left: 100%; | |
| width: 20px; | |
| height: 83.3333333333px; | |
| border-radius: 1 8.3333333333px 8.3333333333px 0; | |
| background: #a82232; | |
| box-shadow: 5px 0px 9px -3px #000; | |
| text-transform: rotate(-90deg); | |
| } | |
| body .container input[type=radio] + label .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| width: 600px; | |
| margin-left: -300px; | |
| counter-increment: tab-counter -1; | |
| text-align: center; | |
| } | |
| body .container input[type=radio] + label .content:after { | |
| content: counter(tab-counter); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container"> | |
| <input type="radio" name="tabs" id="tab_8"/> | |
| <label for="tab_8"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_7"/> | |
| <label for="tab_7"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_6"/> | |
| <label for="tab_6"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_5"/> | |
| <label for="tab_5"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_4"/> | |
| <label for="tab_4"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_3"/> | |
| <label for="tab_3"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_2"/> | |
| <label for="tab_2"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_1"/> | |
| <label for="tab_1"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| <input type="radio" name="tabs" id="tab_0"/> | |
| <label for="tab_0"> | |
| <div class="content">Hello, I'm #</div> | |
| </label> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"view":"separate","fontsize":"100","seethrough":"1","prefixfree":"","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment