No video

Easy Responsive Typography (CSS-only)

  Рет қаралды 12,849

Coding in Public

Coding in Public

Күн бұрын

In this video, I'll show you how to set up a fluid responsive typography scale with the CSS clamp property.
🔗 Key Links 🔗
- CodePen: codepen.io/Cod...
- MDN docs on clamp(): developer.mozi...
- Caniuse.com: caniuse.com/?s...
- Open Props: open-props.sty...
- Utopia Font scaling: utopia.fyi/
- Modern Fluid Typography: modern-fluid-t...
---------------------------------------
📹 Related Videos 📹
- Get Started with Open Props: • Open Props CSS Framewo...
---------------------------------------
🌐 Connect With Me 🌐
- Website: codinginpublic...
- Blog: chrispenningto...
- Twitter: / cpenned

Пікірлер: 41
@jimmyj.6792
@jimmyj.6792 2 жыл бұрын
Thanks Chris for this responsive presentation 🙏👌
@CodinginPublic
@CodinginPublic 2 жыл бұрын
You’re welcome!
@anuj7286
@anuj7286 2 жыл бұрын
This makes my life easier thank you so much sir!
@CodinginPublic
@CodinginPublic 2 жыл бұрын
You’re welcome! Glad it was a help!
@humbulanimunyai6320
@humbulanimunyai6320 2 жыл бұрын
Always awesome content, happy coding
@CodinginPublic
@CodinginPublic 2 жыл бұрын
😊
@ahmetdijitaldönüşüm
@ahmetdijitaldönüşüm 2 жыл бұрын
I newly discovered you. This is awesome thank you 🙇
@CodinginPublic
@CodinginPublic 2 жыл бұрын
So glad you’re enjoying the channel ☺️
@shovadas01915
@shovadas01915 Жыл бұрын
Good Content. And much informative. I'll learn new thinks. Thanks for everything.
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad it was a help!
@technotoyou4209
@technotoyou4209 Жыл бұрын
This was absolutely brilliant. Many thanks.
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad it was a help!
@CephalonShohan
@CephalonShohan Жыл бұрын
Found it quite helpful. Thanks
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad it helped!
@anonymouseverx
@anonymouseverx 2 жыл бұрын
Very informative like always. Thanks, Chris.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏
@lvekua
@lvekua 2 жыл бұрын
Love it ❤ Thanks for the awesome content!
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Glad it was a help! 🙌
@DTUSEM
@DTUSEM 2 жыл бұрын
Good content. We need more like this that can be used in our websites also. धन्यवाद ।
@CodinginPublic
@CodinginPublic 2 жыл бұрын
You’re welcome! Thanks for saying something!
@nitinsoni9956
@nitinsoni9956 2 жыл бұрын
Your videos are AAA ( Awesome As Always).
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏
@sindupratama8966
@sindupratama8966 2 жыл бұрын
thans bro you save my day
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Glad to help!
@Talel_kraiem
@Talel_kraiem 2 жыл бұрын
Very helpful may god bless you for this
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏
@JohnBartmannMusic
@JohnBartmannMusic 2 жыл бұрын
sweet, thanks for this
@CodinginPublic
@CodinginPublic 2 жыл бұрын
You’re welcome! Glad you enjoyed it!
@Mashael_96
@Mashael_96 Жыл бұрын
Thank you
@CodinginPublic
@CodinginPublic Жыл бұрын
You're welcome!
@maruko8324
@maruko8324 Жыл бұрын
This is very great! Thank you for introducing Modern Fluid Typography Editor. Btw why is it at some point of viewport width (let's say 700px) my h1 and h2 has the same size until 800px or higher? Obviously my h1 settings is higher than my h2. Is this some kind of bug?
@CodinginPublic
@CodinginPublic Жыл бұрын
Hey! Sorry for my delay. Hmm…I'm just thinking it was the math between the two. If I remember correctly, I set the small screen size to grow at a different rate than the larger screen size. So at some point they may overlap a bit or look very similar, but it should all be correct according to the math?
@RajSidhux
@RajSidhux 6 ай бұрын
Hey, i am using this for my fluid fonts - calc(8px + 0.390625vw) - which would you say is better to use, Calc or Clamp?
@CodinginPublic
@CodinginPublic 6 ай бұрын
Clamp would be better. It uses a calc, but you also can set a min and max size. On very small or very big screens a pure calc can have odd results. So the clamp sets min and max values nicely.
@moneyfr
@moneyfr 2 жыл бұрын
So strange your videos were not showing on my KZfaq for so long
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Weird. KZfaq hasn’t been showing my content much and I’m not sure why? But glad this one found you!
@codewithfarhad8594
@codewithfarhad8594 2 жыл бұрын
hello good sir, what VS theme and font, color schemes etc you are using? It looks really refreshing and I would like to copy the styles for my home setup 👍
@CodinginPublic
@CodinginPublic 2 жыл бұрын
My VSCode Theme and Font Setup kzfaq.info/get/bejne/a9t1h7eJ3bzOaKc.html
@codewithfarhad8594
@codewithfarhad8594 2 жыл бұрын
@@CodinginPublic thank you so much for sharing all this awesome content 👍
@wentallout
@wentallout 2 жыл бұрын
I think the open prop way is too bloated. If I need a typescale I will use utopia. I dont need a giant css framework that has too many variables I cant remember
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Yeah, I think it’s supposed to be used more selectively, just when you want some spacers or perhaps a transform, etc. But it’s great to have options and no worries if you’d prefer Utopia. It’s awesome, too!
When should you use CSS Grid?
16:17
Coding in Public
Рет қаралды 1,9 М.
Responsive Typography with CSS Clamp
8:37
Tom Is Loading
Рет қаралды 45 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 86 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 45 МЛН
Responsive CSS Will Never Be The Same
12:08
Web Dev Simplified
Рет қаралды 267 М.
:has() opens up new possibilities with CSS
14:30
Kevin Powell
Рет қаралды 285 М.
Is Astro getting too complex?
8:07
Coding in Public
Рет қаралды 3,5 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 945 М.
CSS Anchor Is The Best New CSS Feature Since Flexbox
15:39
Web Dev Simplified
Рет қаралды 367 М.
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 520 М.
5 super useful CSS properties that don't get enough attention
16:23
Kevin Powell
Рет қаралды 144 М.
CSS Grid for Flexbox Devs
18:28
Coding in Public
Рет қаралды 1,6 М.
🏝️ The Server Islands hype is real!
15:11
Coding in Public
Рет қаралды 7 М.
PRO Vs AMATEUR Website Layouts (With Examples)
23:05
DesignSpo
Рет қаралды 376 М.