Open Props CSS Framework (An Introduction)

  Рет қаралды 6,632

Coding in Public

Coding in Public

Күн бұрын

In this video, I'll give you an overview of Open Props, a new kind of CSS framework built entirely on CSS custom properties (i.e., CSS variables). I’ll cover three questions:
1. What is Open Props?
2. Why would you choose it over Tailwind, Bootstrap, and other frameworks?
3. How to use Open Props.
I’ll show you how to install the just-in-time plugin available in PostCSS so you only build the props you use. We’ll use ViteJS as the build tool to quickly get the project up and show you how to configure the CSS Var complete plugin so you get auto-complete suggestions in VSCode.
🔗 Key Links 🔗
- GitHub: github.com/coding-in-public/o...
- Open Props: open-props.style/
- ViteJS: vitejs.dev/
- CSS Var complete VS Code extension: marketplace.visualstudio.com/...
- PostCSS: github.com/postcss/postcss
- Open Props JIT: github.com/GoogleChromeLabs/p...
---------------------------------------
📹 Related Videos 📹
- Understanding Clamp(): • Dynamic Font Size CSS ...
---------------------------------------
⏲️ Timestamps ⏲️
0:00 Introduction
0:29 What is Open Props?
3:04 Why choose Open Props?
4:05 How to install and use Open Props
---------------------------------------
🌐 Connect With Me 🌐
- Website: codinginpublic.dev
- Blog: chrispennington.blog
- Twitter: / cpenned

Пікірлер: 51
@maikolhernandez9176
@maikolhernandez9176 2 жыл бұрын
I don't understand why your videos are so under rated. They are so simple, informative and beautiful. You are one of the greatest teachers that y ever met. Thank you for tanking the time to make these videos and share your knowledge.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
That's very kind, @Maikol Hernandez! Just trying enjoy myself and be a help. Numbers are just numbers. It's more about the people that we can all help. And if I can be one of those for you, great! 🙌
@nyashachiroro2531
@nyashachiroro2531 2 жыл бұрын
This is one of my favorite coding channels. I agree with you 💯. I hope he gets all the success he wants.
@nyashachiroro2531
@nyashachiroro2531 2 жыл бұрын
@@CodinginPublic This why you will succeed. You have the mindset and heart for it.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Thanks for the kind words. Glad you've enjoyed the channel! Can’t believe I'm 6k+!
@princekha4540
@princekha4540 2 жыл бұрын
Bro , I am new to web development . I really enjoy your videos. It is fun as well as informative. Keep producing such high quality content . Lots of love and support ❤️👏
@nitinsoni9956
@nitinsoni9956 2 жыл бұрын
I guess once you have a clear understanding of CSS than OpenProps makes much sense with all the custom variables especially gradients, box shadow and animations. You an amazing instructor and as you mentioned Opens props provides a good design system to the developers.
@101stDay
@101stDay 2 жыл бұрын
As mentioned, you deserve A LOT more recognition for your *excellent* videos
@CodinginPublic
@CodinginPublic 2 жыл бұрын
That’s very kind. Thanks for saying something!
@lvekua
@lvekua 2 жыл бұрын
I don't know how you do it but unlike other tutorials your tutorials stick to me like a glue. Thank you for Awesome content!❤
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Glad they're a help! We all learn better from some than others and I'm glad to be one in the "better" category for you. Thanks for saying something!
@FredySandoval_123
@FredySandoval_123 2 жыл бұрын
Your video is easy for beginners to understand. Kudos
@CodinginPublic
@CodinginPublic 2 жыл бұрын
So glad to hear it! Thanks for saying something!
@nyashachiroro2531
@nyashachiroro2531 2 жыл бұрын
This channel deserves an award. Thank you so much.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏 That's very kind. Glad you've enjoyed it!
@SamadKanton
@SamadKanton 2 жыл бұрын
@@CodinginPublic certainly
@avinashmurmu9070
@avinashmurmu9070 2 жыл бұрын
After trying all the different solutions for css, what I have found is that SASS is where everyone finally falls into.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
For larger or team projects, I agree that sass is a natural fit and almost a necessity. For smaller projects or solo projects, other options start to open up!
@Rob-cq1nf
@Rob-cq1nf 2 жыл бұрын
Keep up the good work! Your content and quality is really really good 👌
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Thanks for your kind words! 🙏
@naranyala_dev
@naranyala_dev Жыл бұрын
Wow, very huge thanks. I'm come back for the Open Props and another modern tools.
@CodinginPublic
@CodinginPublic Жыл бұрын
You’re welcome! I love Open Props!
@pablorey9203
@pablorey9203 Жыл бұрын
Great video!! Thanks! Liked, subscribed and notification activated!
@CodinginPublic
@CodinginPublic Жыл бұрын
Awesome, thank you!
@cadamsdev
@cadamsdev 2 жыл бұрын
Awesome video, thanks! 🙂
@CodinginPublic
@CodinginPublic 2 жыл бұрын
You’re welcome! Glad it was a help! It’s such a nice framework :)
@SamadKanton
@SamadKanton 2 жыл бұрын
thanks, will check it out.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
You’re welcome!
@korngsamnang
@korngsamnang 2 жыл бұрын
Great bro !! i'm a new subscriber.I will check out all your videos next time soon.but now May i ask you about your vscode's set up and about platform that you deploy your every front-end projects?
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Thanks for the sub! Sure thing. I just did this recent video on my theme/font here: kzbin.info/www/bejne/a6aohYeOrbudbtU I'm mostly using Netlify these days for deploying!
@Grovento
@Grovento Жыл бұрын
Great work! Thanks. On your experience, what is better for a personal project: tailwind or open props? I haven't been able to make my mind...
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad you enjoyed it! Personally, if I was going to be regularly working in the project, I’d use Open Props. If I was going to leave the project and then come back after a few months, I’d use Tailwind as it’s easier to quickly see how to alter the project in the future, even if it’s not quite as flexible. Hope that helps!
@jugibur2117
@jugibur2117 Жыл бұрын
Thanks for your introduction! I'm still looking for new ways to speed up development. But I think SASS continues to have greater advantages for me here, for example because of the functions, the "extend" and serveral partial files for better structuring. Defined but unused variables are also not taken into the code, with OP I need after again a PostCSS plugin. I find writing all these sometimes long custom properties a bit annoying and I also find that the framework tries to do too much. For example, why so many pre-made gradients? TailwindCSS on the other hand also has its disadvantages, but for that I can really work faster there, I don't need class names, the commands are shorter and the JIT compiler is built right in.
@CodinginPublic
@CodinginPublic Жыл бұрын
Sure thing! Glad it was a help. IMO, Open Props works best if you like to write your own CSS and just want to pick and choose a few pre-built props to incorporate into your styles. I mostly pull them in, renaming them to my own custom CSS variables, and then just use them for things like spacing, font sizes, etc. So it's more of an addition to CSS and not really a replacement for writing your own CSS (like Tailwind). Hopefully that makes sense? But definitely not for everyone. If you want a full system for CSS, it's hard to beat Tailwind. If you want to write your own CSS, it's hard to resist sprinkling in some Open Props to help you quickly get up to speed, IMO.
@humbulanimunyai6320
@humbulanimunyai6320 2 жыл бұрын
coding in public your the best
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏
@pioleonardo
@pioleonardo Жыл бұрын
what font did you use in your vscode editor? I love it!
@CodinginPublic
@CodinginPublic Жыл бұрын
I use Cascadia Code (free font by microsoft). More info here: kzbin.info/www/bejne/a6aohYeOrbudbtU
@pioleonardo
@pioleonardo Жыл бұрын
@@CodinginPublic thanks a lot. I highly appreciate it
@simio8809
@simio8809 2 жыл бұрын
The homepage of Open Props doesn't have the config for CSS Var Complete anymore 🤔😐
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Hey! Just checked. It’s under the autocomplete header (expand VSCode). Hope that helps!
@simio8809
@simio8809 2 жыл бұрын
@@CodinginPublic Oh, lol. My bad, couldn't find it. Thanks!
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Lol No worries 😉
@mdkawsarislamyeasin4040
@mdkawsarislamyeasin4040 2 жыл бұрын
This seems to be interesting but if we need to set class then style in the CSS file, this might be not much helpful for us! Cause we can use our CSS Why need a framework like this !
@CodinginPublic
@CodinginPublic 2 жыл бұрын
It’s not for everyone, but if you like writing your own CSS, I think it’s a winner!
@mdkawsarislamyeasin4040
@mdkawsarislamyeasin4040 2 жыл бұрын
@@CodinginPublic yeah! But It's good also ! I tried after watching Your tutorials, pretty good 😌 Thanks
@HimasRafeek
@HimasRafeek 2 жыл бұрын
Turtorial on buttercake css framework?
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Never heard of it! I’ll check it out!
@mdkawsarislamyeasin4040
@mdkawsarislamyeasin4040 2 жыл бұрын
That's great I use postcss right now i can also use this as a postcss plugging 🥱 Thanks 🤗
@CodinginPublic
@CodinginPublic 2 жыл бұрын
👏
Supercharge your CSS with Open Props
19:58
Kevin Powell
Рет қаралды 57 М.
Easy Responsive Typography (CSS-only)
10:04
Coding in Public
Рет қаралды 12 М.
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 35 МЛН
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 142 МЛН
Can you beat this impossible game?
00:13
LOL
Рет қаралды 43 МЛН
CSS Anchor Is The Best New CSS Feature Since Flexbox
15:39
Web Dev Simplified
Рет қаралды 354 М.
Why Pico Is My Favorite CSS Framework For Svelte
18:24
Joy of Code
Рет қаралды 43 М.
The Correct Prop For Your Boat! How To Know!
9:00
Born Again Boating
Рет қаралды 937 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 157 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 891 М.
Get more out of custom properties
13:12
Kevin Powell
Рет қаралды 49 М.
Use these instead of vh
6:06
Kevin Powell
Рет қаралды 451 М.
A new approach to container and wrapper classes
25:27
Kevin Powell
Рет қаралды 242 М.
Rust's Alien Data Types 👽 Box, Rc, Arc
11:54
Code to the Moon
Рет қаралды 132 М.
KITTY Cat - Katzenfutter mit DIVA-EFFECT
0:22
KITTY Cat & DOGGY Dog
Рет қаралды 4,4 МЛН
1🥺🎉 #thankyou
0:29
はじめしゃちょー(hajime)
Рет қаралды 77 МЛН
😨 СФОТКАЛА незнакомца и собрала на @mozabrick
0:46
Настя, это где?
Рет қаралды 12 МЛН