ACSS 101.04: Fluid Responsive, Scale-Based, Contextual Spacing

Поделиться
HTML-код
  • Опубликовано: 2 май 2024
  • As is true of typography, the spacing system in Automatic.css is automatically responsive and scale-based, but it also happens to be one of the only contextual spacing systems in existence.
    That's because ACSS has been at the forefront of defining and establishing the concept of contextual spacing in web design.
    In this lesson, you'll learn how the ACSS spacing system works and how to apply spacing within the context of a real project.
    Covered:
    - Base Spacing Controls
    - Spacing Scale Controls
    - Section Spacing Controls
    - Gutter
    - Anatomy of a Typical Layout Using Spacing Variables
    - Spacing Variables vs Contextual Spacing Variables
    - Section Padding Classes
    - Auto Contextual Spacing'
    - Contextual vs non-contextual spacing
    - Adding spacing with variables
    - Adding space with classes (gap, margin, padding)
    Not Covered:
    As is true for sections, ACSS has header spacing classes that control the block spacing of the header while maintaining a proper gutter. You can learn more about these in documentation and I'll try to cover these in the lesson about headers.
    ---
    Interested in using Automatic.css on your sites and accessing the private ACSS support and strategy community? Get a license here: automaticcss.com
    Interested in using Frames on your sites and accessing the private Frames support and strategy community? Get a license here: getframes.io
    Want more helpful dev tutorials and agency-related trainings? Check out Kevin's channel: / @gearyco
  • РазвлеченияРазвлечения

Комментарии • 69

  • @KristiyanIvanov
    @KristiyanIvanov 2 месяца назад +8

    I thought that I had seen it all in the previous video about typography, and I was already blown away, but man... we are witnessing a revolution in how to build and manage websites. The right way!

  • @coolwebdesign8747
    @coolwebdesign8747 2 месяца назад +8

    To answer your question Kevin, it's a crystal-clear example of how to teach and how to explain all needed to others. So NO, you don't have to rerecord anything. It's perfect exactly how it is. Thank you.

  • @bjon3048
    @bjon3048 10 дней назад

    I really like that you do not only create an awesome product, but also teach how to use it!

  • @abdulwaheedorg
    @abdulwaheedorg 2 месяца назад +3

    You explained it very well.
    I'm hoping to see a full tutorial at the end of this course to make a full webpage by starting from setting up ACSS.
    I just wanna see how do you setup ACSS to build a webpage.

  • @mrErycki
    @mrErycki 2 месяца назад +4

    This is clearly explained and there's no need for rephrasing. Continue sharing new content, and I'll cancel Netflix. Great work, you're the best! Consider developing a new page builder with ASCC integration.

    • @koperkuba
      @koperkuba 2 месяца назад +1

      Now its Gearyflix time:)

  • @RobCooper
    @RobCooper 2 месяца назад +3

    14 hour road trip through the Canadian Rockies: Awesome
    Steak supper: excellent
    Watching another ACSS101 before getting on a cruise? Priceless!

  • @phobzy85
    @phobzy85 2 месяца назад +1

    The way you've presented it makes perfect sense Kevin. Everytime I see a new 101 video I'm excited :) Great series!

  • @alex_vie
    @alex_vie 2 месяца назад

    Regarding to your question: you explain all that very well. From my point of view there is no need to re-record that video and try to explain something with different aproaches. It cannot be presented more clear. Thanks for that big effort you put into this!

  • @dahunsi
    @dahunsi 2 месяца назад +2

    I like the refactored padding classes. I have been saying it, we will soon need to be ACSS Certified.

  • @issakhlief
    @issakhlief 2 месяца назад +4

    Learn ACSS in one week 🎉🎉

  • @reggiewaysama
    @reggiewaysama Месяц назад

    Thanks Kevin, this just solidify my perspective on using the proper contextual variables on spacings rather than just using rem values. I know there's nothing wrong on using rems but with this type of approach? Man, this is a lot better, makes the site more maintainable and make sure that we're using CSS globally when handling gaps on sections.

  • @azuzaazuza
    @azuzaazuza 2 месяца назад

    No need to re record, this was awesome.

  • @basilbabaa1628
    @basilbabaa1628 2 месяца назад

    Thanks Kevin. Awesome info. ACSS is such an invaluable tool. I can’t imagine not having it.

  • @greggdavis
    @greggdavis 2 месяца назад +1

    You are explaining this very well, including the reasons why ACSS is built the way it is. Thanks.

  • @SamFrysteen
    @SamFrysteen 2 месяца назад +2

    Explanation for me was clear and perfect ... for newbies, would have been good to have a different frame with different class names, that still used contextual spacing to show how it relates site wide ... eg: pretending to have 2 different frames on different pages but the contextual spacing keeps their layout spacing in sync.
    Also... would be great to have some extra default contextual spacing values ... --card-gap and --card-padding are ones I always make.

    • @AutomaticCSS
      @AutomaticCSS  2 месяца назад +2

      We have these for frames users but we haven’t made them officially part of ACSS yet. It’ll probably happen soon.

  • @DanielNeubauer
    @DanielNeubauer 2 месяца назад

    Great explanation Kevin. Keep them coming.

  • @vasko456
    @vasko456 2 месяца назад

    Crystal-clear to me too. No need to re-record anything Kevin. As I stated log time ago, you are born to teach.
    Thanks,man. I'm glad I purchased ACSS LTD.

  • @stewartr7648
    @stewartr7648 2 месяца назад

    Have you noticed the small typo in the video thumbnail "101.03". Loving this series and very much looking forward to the first release of v3. Thanks Kevin.

  • @clausmorlock
    @clausmorlock 2 месяца назад

    Well-explained with much Geary energy 👏

  • @davidwalls2304
    @davidwalls2304 2 месяца назад

    Kevin, great explanations the video. Conceptually, it is clear but I'll need to play with things for it to truly set in.

  • @nostressirish2767
    @nostressirish2767 Месяц назад

    Very good Kevin, makes sense.

  • @basilbabaa1628
    @basilbabaa1628 2 месяца назад

    I just had to come back here and post again. Prior to watching this video I had been FIGHTING for hours upon hours with a Mega Menu in Bricks. While I hate them, this customer wants one. After watching this video however, I went back in stripped all the styling from the elements in the section, applied BEM classes to every component, used the PROPER contextual spacing variables and some of the appropriate utility classes available in ACSS as well. AND NOW.... This Menu now looks fantastic... perfectly spaced and perfectly scales from 2560 down to 992. This was a monumental advance in applied learning for me today! Thank you again Kevin and entire ACSS team... Appreciate you all so much!

    • @AutomaticCSS
      @AutomaticCSS  2 месяца назад

      🎉🎉🎉 great win! 💪🏻

  • @CoThinking
    @CoThinking 2 месяца назад

    To answer, I like how most spacing decisions should be contextualised and makes sense. Looking forward to more releases of the tutorials

  • @LupusDesign
    @LupusDesign 2 месяца назад

    Another excellent tutorial. Thank you, Kevin! You are a natural teacher, as I said many times. Don't change anything!

  • @ceescoenen
    @ceescoenen 2 месяца назад

    Clear! No re-recording 🎉

  • @chrisgreen5711
    @chrisgreen5711 2 месяца назад

    The explanation of using context variable and the static variable was spot on Kevin, makes complete sense. Another great tutorial dude 👍

  • @jasonvargas4798
    @jasonvargas4798 2 месяца назад

    This makes a ton of sense, honestly before watching this I didn't really understand how to use this to its fullest, now its super clear. Can't wait for the rest of this course.

  • @eucalyptech
    @eucalyptech Месяц назад

    Thank you Kevin, very useful focus 😀

  • @Jim.Hummel
    @Jim.Hummel 2 месяца назад

    No rerecording needed...you NAILED it!

  • @bluetheredpanda
    @bluetheredpanda 2 месяца назад

    Damn you’re on fire 😂
    Seriously though, love how you’ve been able to break down the concepts so far - the individual concepts, but also the overall lesson plan. Such a great job. 👏

  • @lencarter9070
    @lencarter9070 2 месяца назад

    The explanations of each spacing control with demonstrations makes things very clear. Will just need time now to apply them. Thanks! Thanks! Thanks!

  • @kevinroberts3789
    @kevinroberts3789 2 месяца назад

    Crystal clear. Do not re-record!

  • @ReubenHochstetler
    @ReubenHochstetler 2 месяца назад

    Contextual spacing is one of my favorite things about ACSS.

  • @tjveach
    @tjveach 2 месяца назад

    This training is the best I have seen

  • @Europommie
    @Europommie 2 месяца назад

    Thanks for the video. Everything is explained in a clear way.

  • @stphnmwlkr
    @stphnmwlkr 2 месяца назад

    Great lesson on the contextual spacing.

  • @koperkuba
    @koperkuba 2 месяца назад +1

    Please add a timestamps:) And great work as always:)

  • @slack_r
    @slack_r 2 месяца назад

    Love the explanations and seeing visually how the spacing works. Have had a look at the documentation as wondered whether there was the equivalent of a spacing cheat sheet. It's just a thought but I would appreciate being able to glance at an image and know where the various spacing applies (e.g. coloured areas). I'm sure it becomes second nature, but learning any system, part of the barrier is becoming fluent in the terminology. Often being able to glance at an image and recall 'ah yep, the pink area = content gap' shortcuts the double-checking that I have it right. I can see you have done similar images demonstrating content width for example.

    • @AutomaticCSS
      @AutomaticCSS  2 месяца назад

      It’s the same as web design in general. Look up “box model css” or go through my PB101 course. There’s only three types of spacing. Once you learn the three types you’re good to go.

  • @itspraveensharma
    @itspraveensharma 2 месяца назад

    Thanks Kevin for speeding up the ACSS 101 tuts...really appreciate your efforts. Waiting for ACSS 3.0 launch, very hard to stick to current system after watching real time editing in the play. Any idea about when would it be available for us?

  • @beollan
    @beollan 2 месяца назад

    No you don't need to re-record, this is the best explanation.

  • @Luca-ui3rn
    @Luca-ui3rn 2 месяца назад

    Hi Kevin, thanks for the video :) So far, if I wanted to adjust the padding of a single section, for example, I adjusted it to ID level instead of using a utility class... would you always use a utility class for such a case? because I have disabled most utility classes... what would be best practice in this case? Many thanks in advance!

    • @AutomaticCSS
      @AutomaticCSS  2 месяца назад +1

      yes, this is a perfect use case for utility classes. ID styling is far less efficient and much more inflexible.

  • @jzajzz
    @jzajzz 2 месяца назад

    25:53 I understand why it makes sense to have a static variable with the icon and the heading..it's as if the icon is part of the heading.
    However I'm not sure if I'm confident enough to know when to use the static variable vs contextual in other use cases when it comes up on the fly. Is there something that you can pinpoint that should be a trigger for me to pause and consider using static variables

    • @AutomaticCSS
      @AutomaticCSS  2 месяца назад

      Some of it is just experience. But it’s not too big of a deal when you’re using a class-based workflow because a mistake can be fixed everywhere it occurs by changing one value. So, don’t stress about it too much (assume you’re using classes the way I teach it).

  • @febryanvaldo
    @febryanvaldo Месяц назад

    It's a bit confusing, until you use it 😊😊😊

    • @AutomaticCSS
      @AutomaticCSS  Месяц назад

      Yes, you have to interact with this stuff for it to make sense.

  • @tir7898
    @tir7898 2 месяца назад

    Thank you! (for the algo)

  • @membershipmovement
    @membershipmovement Месяц назад

    How do I turn off the gutter for a section, but still keep the section blocking?

    • @AutomaticCSS
      @AutomaticCSS  Месяц назад

      What’s the use case? There’s probably a better way to do what you’re trying to do.

  • @jzajzz
    @jzajzz 22 дня назад

    Am I correct to say the automatic spacing is applied to block but not DIVs since Divs are unstyled?.. this is what's happening for me as I'm playing around with it

    • @AutomaticCSS
      @AutomaticCSS  22 дня назад +1

      Divs are display block so they don’t support gap.

  • @sophiemulders
    @sophiemulders Месяц назад

    Question; the standard spacing ( the pixel values you put in there) are what drive the space variables right ? (-space-m etc)
    Can i calculate what the values are?
    So i can put the same spacing in my designs. ( waiting for F4F, but in meanwhile i try to standardize my design work based of of acss) 😊

    • @AutomaticCSS
      @AutomaticCSS  Месяц назад +1

      You would use the max value on desktop design and min value on mobile design. Is that what you mean?

    • @sophiemulders
      @sophiemulders Месяц назад

      @@AutomaticCSS yes thanks! 🙏i was thinking to difficult 😅

  • @palagorn
    @palagorn 2 месяца назад

    Hi, I try to figure out. how to set section padding-left, padding-right in acss. Normally acss would use --space-m for left, right padding in section automatically. but I would like to set default padding for left, right at --space-s or something else otherwise i need to set every section padding left, right value manually. where i can set global padding-left, padding-right for section in acss ?

    • @AutomaticCSS
      @AutomaticCSS  2 месяца назад

      This is explained at 5:55

    • @palagorn
      @palagorn 2 месяца назад

      @@AutomaticCSS even though i set gutter to 10px it is still not use 10px in mobile instead it is use 24px.

    • @AutomaticCSS
      @AutomaticCSS  Месяц назад

      @@palagorn Post in the support group with details and we can help you there.

  • @user-eo1vz9lt8g
    @user-eo1vz9lt8g 2 месяца назад

    is the sandbox environment now available?

    • @AutomaticCSS
      @AutomaticCSS  2 месяца назад +1

      Not yet, we're trying to figure out a suitable licensing situation for a seamless experience.

    • @user-eo1vz9lt8g
      @user-eo1vz9lt8g 2 месяца назад

      @@AutomaticCSS ok, thanks

  • @iamwaqasdotcom
    @iamwaqasdotcom 2 месяца назад

    The only thing i miss here is "peace" at the end of the video.