How to Easily Create Pure CSS Tabs (No JavaScript Needed!)

  Рет қаралды 31,810

dcode

dcode

3 жыл бұрын

Link to code:
codepen.io/dcode-software/pen...
In today's video I'll be showing you how to easily create CSS-only tabs - this is a perfect solution that only requires HTML & CSS and can easily be added to an existing website or web application.
For your reference, check this out:
developer.mozilla.org/en-US/d...
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #html #css

Пікірлер: 34
@angiebabe2010
@angiebabe2010 2 жыл бұрын
Dude, thank you so much for this!
@photoinshot1355
@photoinshot1355 Жыл бұрын
Excellent tutorial, thanks!
@ErWayneCrafter
@ErWayneCrafter Жыл бұрын
This actually worked, thank u
@lulusaikou221
@lulusaikou221 2 жыл бұрын
Thank you very much! I learned a lot!❤
@himabimdimwim
@himabimdimwim 2 жыл бұрын
Oh, elegant solution! I wonder how well these nest inside of one another, it could be a unique primary navigation system!
@pratikdevle5830
@pratikdevle5830 2 жыл бұрын
was searching for such tutorial...very easy to understand for beginners. Really nicely explained with pure css. 👍
@vtech8716
@vtech8716 3 жыл бұрын
good tutorials, thanks
@hassantayf
@hassantayf 3 жыл бұрын
very cool css tutorial thank's
@josechirino5168
@josechirino5168 3 жыл бұрын
Awesome work
@malikaaissa8764
@malikaaissa8764 8 ай бұрын
really useful thanks a lot
@jean-michellaborie8201
@jean-michellaborie8201 Жыл бұрын
Thanks a lot for this video: easy to understand, simple to implement and very useful
@KarthickKrishnan0014
@KarthickKrishnan0014 3 жыл бұрын
You are awesome 👍
@anuragnair5
@anuragnair5 Жыл бұрын
hey man, thanks for this. what is the name of the vsc theme tho?
@usmanAli-hw5xu
@usmanAli-hw5xu 2 жыл бұрын
thank you
@dishydez
@dishydez 2 жыл бұрын
Great, was looking for something like this. Quick q, is there a way to create a new tab button? As in lile a chrome or browser tab to open a new tab, is there a way to do this for this tutorial?
@umarnaeem4256
@umarnaeem4256 Жыл бұрын
Best one
@jaimeruedagomez
@jaimeruedagomez Жыл бұрын
amazing
@anonymousperson6188
@anonymousperson6188 9 ай бұрын
Hi. Does making the tabs differ at all when making a spreadsheet like excel...? Do you know of a video that shows how to make tabs with a spreadsheet situation...? I tried making the "flex-wrap" idea but it didn't work. I'm not sure what I did wrong... Currently it shows both spreadsheets on the same page...one under the other...🙏
@RianY2K
@RianY2K 3 жыл бұрын
Please resume yesterday tutorial about table, can we make datatable with pure JavaScript?
@PrasannaNadagoud
@PrasannaNadagoud 3 жыл бұрын
Please can you make vertical tab?
@badcatdesign
@badcatdesign 3 жыл бұрын
Could this work via the keyboard? Tabbable? Accessible?
@carloautor
@carloautor Жыл бұрын
I was just wondering I do we have to select the two adjacent siblings ? .tabs__radio:checked + .tabs__label + .tabs__content, why cant we just .tabs__radio:checked > .tabs__content ? Can someone answer? Thank you
@iamTazim9
@iamTazim9 3 жыл бұрын
Plesse make an video, how to create Mobile (responsive) 2 colum card layout 🙂
@rupam0
@rupam0 3 жыл бұрын
Thanks,,,,,🤓
@dcode-software
@dcode-software 3 жыл бұрын
Welcome
@sarabibrahim8312
@sarabibrahim8312 Жыл бұрын
👏👏👏
@VrataVenet
@VrataVenet Жыл бұрын
Is flex responsive?
@dcode-software
@dcode-software Жыл бұрын
It certainly does encourage responsive behaviour :)
@AB-ms7my
@AB-ms7my 2 жыл бұрын
13:45 code or didn't happen! Many browsers have bugs and you can make it work in one browser but not another. Good idea but half-assed implementation.
@goodshiro10
@goodshiro10 Жыл бұрын
If you have problems in rendering styles between browser, test them in every browser using some extension. Also use some prefixes in css properties like -moz for firefox, -webkit for chrome and some browsers, etc
@ClubMedia
@ClubMedia 4 ай бұрын
:)
@saemjamin
@saemjamin 3 жыл бұрын
Hey Dom, thanks a lot for the tutorial. Is it possible that it doesn't work if the CSS tabs are inserted more than twice on a page?
@daveturnbull7221
@daveturnbull7221 Жыл бұрын
Certainly works with up to 4 tabs as I've done that without any issue.
@ErWayneCrafter
@ErWayneCrafter Жыл бұрын
This actually worked, thank u
How to Create Tabs with only HTML & CSS
15:04
iEatWebsites
Рет қаралды 59 М.
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 392 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 131 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 14 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 84 МЛН
How to Create a Vertical Timeline - HTML & CSS Tutorial
16:09
Простые табы на HTML и CSS. Как это сделать?
13:16
Фрілансер по життю
Рет қаралды 90 М.
Build a Responsive Website | HTML, CSS Grid, Flexbox & More
2:02:22
Traversy Media
Рет қаралды 962 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 912 М.
Build Tabs Using HTML/CSS In Only 12 Minutes
12:08
Web Dev Simplified
Рет қаралды 111 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,6 МЛН
Learn CSS BOX MODEL - With Real World Examples
17:45
Slaying The Dragon
Рет қаралды 92 М.
How to create a Responsive Navigation Bar (for beginners)
15:21
Coding2GO
Рет қаралды 301 М.
How to Access the Webcam - Easy JavaScript Tutorial
8:10
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН