No video

Using REM and Clamp to build BETTER Website Responsiveness - Fonts Margins Paddings Tutorial

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

Web Squadron

Web Squadron

Күн бұрын

Join our 'How to Start a Web Design Business' Course - and use strategies to grow, get clients, and generate recurring income: websquadron.co...
Book your 1-2-1 Consultation: websquadron.co...
FREE Clamp Calculator: websquadron.co...
Using REM and Clamp to build BETTER Website Responsiveness - Fonts Margins Paddings Tutorial
We love to create - share - respond - and deliver.
🧐 Learn with our Mastery Modules: websquadron.co...
🔗 All of our Important Links: websquadron.co...
😃 Join our Facebook Group: / 3309523509284305
😃 Get Code Snippets Pro: r.freemius.com...
😃 Get Elementor Pro: be.elementor.c...
😃 Boost your KZbin Analysis: www.tubebuddy....
👕 Get our Merchandise: websquadron.co...
🥹 Support us: paypal.me/Webs...
Hire us to work on your Website!
💌 info@websquadron.co.uk
👩‍💻 Visit websquadron.co.uk

Пікірлер: 35
@joshlyons1005
@joshlyons1005 Жыл бұрын
I've been struggling with this and this here is the best explanation and method I've seen. Really appreciate this brotha!
@Jim.Hummel
@Jim.Hummel Жыл бұрын
This really helps take the anguish and frustration of working with various breakpoints. Such as handy feature, especially since you can de-couple your heading tags from the font size. This allows proper SEOing of titles, subtitles, and sibling headings without being locked into a given font size.
@stevemarrs3149
@stevemarrs3149 Жыл бұрын
You absolute legend!! This makes things so much better when it comes to formatting desktop design for tablet and mobile. Excellent work as always. I’m thinking I may set of a draft page for new sites with headers, text, buttons etc all set up so I can just copy and paste the style across to each relevant section as and when needed.
@cablo69
@cablo69 Жыл бұрын
Best explanation of the clamp function i have seen. Thank you, Imran.
@websquadron
@websquadron Жыл бұрын
Glad you liked it
@Am_ro12
@Am_ro12 Жыл бұрын
I love this, thank you. But my hurdle here is, yes I use REM, and I want the clamp. But I use the global styling, not typography styling. I do this, so that I can choose if I want a H1 tag as a tiny heading on occasion for seo purposes. Meaning, my type hierarchy is not linked to the title tag. I find this much better for freedom of design. Is there a way to still use this amazing concept you created, without it being connected to title tags (H1 and so on), and by having your HTML connected to your global styles you create instead? Also, why can you not use extra breakpoints? Set everting below 1440px to VW and the. Mobile and widescreen as REM to clamp.
@scottmcintyre5543
@scottmcintyre5543 10 ай бұрын
I follow this exact same design pattern with my typography primarily for SEO purposes. Maintaining a pleasing design while using H1 elements at small "label" sizes if I need to. It would be great to "disconnect" clamp from the H hierarchy in some simple way.
@michaelzorko4349
@michaelzorko4349 7 ай бұрын
Thank you - question - how do you handle line height with this approach?
@websquadron
@websquadron 7 ай бұрын
If my REM Min and Max are 1 REM and 4 REM, then the line height maybe 1.3REM and 4.3REM. You may add 0.2, 0.3, 0.4, 0.5, etc as a constant. Check and test as suitable line height will vary based on Font Family.
@michaelzorko4349
@michaelzorko4349 7 ай бұрын
Thank you for the reply. I really appreciate the extent to which you go to share knowledge. @@websquadron
@katiareis703
@katiareis703 Жыл бұрын
Thank you so much!
@dominik.szewior
@dominik.szewior Жыл бұрын
Thank you :)
@ManoMomen
@ManoMomen Жыл бұрын
thats amazing Imran 👏 do you have any recommendation about the size of H1~H5 & p sizes?
@websquadron
@websquadron Жыл бұрын
I do let me dig it out or I’ll do a video to share
@ManoMomen
@ManoMomen Жыл бұрын
@@websquadron that would be great 👏 i am waiting.
@elon0099
@elon0099 Жыл бұрын
Nice, btw will you ever teach web development using PHP and database? I mean website based on coding only instead of elementor
@websquadron
@websquadron Жыл бұрын
Not with just coding as even I struggle or get myself mixed up. It’s like painting. Give me canvas as a set of painting brushes and I may get it more wrong that right. Give me a tool like photoshop and I’ll rustle up digital art. The tools help me.
@michaelfoerster3364
@michaelfoerster3364 Жыл бұрын
Do you use it at the global font styles, bcs if we do it on the element it won't be so maintainable? E.g if the client wants to increase it later?
@websquadron
@websquadron Жыл бұрын
Once I know the codes then I go back and apply. I usually make my decisions after the hero and the first text heavy container.
@Art-01
@Art-01 Жыл бұрын
Thank u for sharing
@Restoredetailaz
@Restoredetailaz 8 ай бұрын
Where do you get your Min & Max px width?
@websquadron
@websquadron 8 ай бұрын
I just decide on sizes that prevent it from changing to ultra small and too big.
@Restoredetailaz
@Restoredetailaz 8 ай бұрын
Alright awesome, I appreciate the help. I think I need to sign up for an hour of training@@websquadron
@nparasida
@nparasida Жыл бұрын
I'm still not able to grasp what's going on here... because you have 8 different settings in the calculator, how do we figure out what each one should be?
@websquadron
@websquadron Жыл бұрын
You don’t have to use each row. If you plan to add to custom css then use the appropriate row. But if you are adding to the custom unit then just use the top row. First select your root html which will be 10 for bricks and 16 for Elementor. Then add your min and max threshold for screen size. Then add your chosen PX or REM size for what you want the smallest and largest sizes to be.
@user-jt4wx8ix4v
@user-jt4wx8ix4v 3 ай бұрын
Dont work for me, I do it in global fonts and dont work, if you can help me thank you
@websquadron
@websquadron 3 ай бұрын
Have you cleared out any values in typography?
@rodlivz
@rodlivz Жыл бұрын
Thanks for this Imran... I'm currently working on a project and facing this very issue especially on different screen sizes. The issue im having is Vh values and rems looking different in different screen sizes and orientation. The biggest challenge is on mobile horizontal views... All the sizes are off, especially my sections so I've revereted back to pixels! Let me know if you need a link.
@websquadron
@websquadron Жыл бұрын
Are you using VH for the height of the Container etc?
@rodlivz
@rodlivz Жыл бұрын
@@websquadron Yes, was using VH. I'm guessing that's what is affecting it.
@erling5148
@erling5148 Жыл бұрын
why not just just em for padding and or margin if you do there is no need for clamp....
@websquadron
@websquadron Жыл бұрын
I find it not as good :(
@erling5148
@erling5148 Жыл бұрын
@@websquadron what...
@websquadron
@websquadron Жыл бұрын
It’s subjective but I prefer to use REM
@erling5148
@erling5148 Жыл бұрын
@@websquadron when you use em for the padding/margin it grows/shrinks with the the font size set in the clamp function, cascading...
小丑和白天使的比试。#天使 #小丑 #超人不会飞
00:51
超人不会飞
Рет қаралды 33 МЛН
王子原来是假正经#艾莎
00:39
在逃的公主
Рет қаралды 25 МЛН
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 676 М.
CSS Clamp Simplified, with Fluid Responsive Typography Examples
9:19
Deeecode The Web
Рет қаралды 5 М.
Right Way to Set up Global Fonts & Typography in Elementor
11:48
POSIMYTH Innovations - WordPress Tutorials
Рет қаралды 6 М.
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 360 М.
Responsive Typography with CSS Clamp
8:37
Tom Is Loading
Рет қаралды 47 М.
PRO Vs AMATEUR Website Layouts (With Examples)
23:05
DesignSpo
Рет қаралды 383 М.
The Best Way to Setup Elementor Typography
7:16
King Grizzly
Рет қаралды 9 М.
Elementor’s default 1140px doesn’t work. Here’s why
19:34
Rino de Boer
Рет қаралды 122 М.
小丑和白天使的比试。#天使 #小丑 #超人不会飞
00:51
超人不会飞
Рет қаралды 33 МЛН