PB101: L17 - Pseudo Elements

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

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

  • @Gearyco
    @Gearyco  Год назад +17

    Mandatory Side Quest: Watch this training on positioning elements: ruclips.net/video/wAvjJ3p5iSM/видео.html

    • @websiltd
      @websiltd 11 месяцев назад +1

      Can you apply the accent box effect to divs / containers?

    • @Gearyco
      @Gearyco  11 месяцев назад +1

      yep@@websiltd

  • @LupusDesign
    @LupusDesign Год назад +9

    I know that Kevin says that repeating yourself is "chump-like behaviour", but I have said it many times before that Kevin is a natural teacher - some actual teachers never fully acquire the skill to identify with the learner. Kevin does! Another excellent description and application: learning by doing! Now to revise on "Positioning"! Peace! ❤

  • @digitalgorithms
    @digitalgorithms 27 дней назад

    This lesson just supercharged my CSS skills! I had a decent understanding of pseudo elements, but you really took it to the next level and filled in those critical gaps. Your explanation of positioning and efficiency was an absolute game-changer. I’m so excited to leave Chumpville behind and start creating smarter, cleaner designs! And that thunderstorm moment-pure gold! Just don’t get electrocuted out there, but keep bringing the lightning to these lessons! Thanks for the incredible boost! Let’s Keep It Rolling!

  • @jybevox
    @jybevox 9 месяцев назад +2

    CLICKABLE IMAGE WITH AN OVERLAY - At 42:00, during the "image overlay" section, if your image is a clickable image, you will NOT BE ABLE to click on it anymore. Solution: if you encounter this problem, you can add [pointer-events: none;] in the [root::before] element to prevent the overlay from interfering with the mouse click, and so, keep the image (that lay below) clickable.
    Thank you Kevin for this video on pseudo elements!

  • @NotAddicted1981
    @NotAddicted1981 3 месяца назад

    I come prepared to these lessons, I wear safety glasses and rain gear. Great stuff

    • @Gearyco
      @Gearyco  3 месяца назад

      💪🏻🙏

  • @kevinholloman
    @kevinholloman 6 месяцев назад +1

    18 videos in, and I've learned more than any paid course has ever shown me! It helps that I already have the LTD of Bricks.

  • @ThierryC-te3rx
    @ThierryC-te3rx Год назад +1

    Kevin, the internet will remember You as The Guy who made web design great again.
    Thanks for your efforts.

    • @Gearyco
      @Gearyco  Год назад +3

      You're going to win so much you're going to get sick of winning. It's gonna be yuge.

    • @ThierryC-te3rx
      @ThierryC-te3rx Год назад +1

      @@Gearyco Trying to get ready for that 😅

    • @ThierryC-te3rx
      @ThierryC-te3rx 9 месяцев назад

      @@Gearyco The change has started. Building my 1st site with Bricks (ex-Divi, currently-Breakdance)
      Big learning curve but big lessons learnt.
      Adding pseudo-elements so re-watching the course again.
      Thanks a lot 🙏

  • @ka7ana
    @ka7ana 4 месяца назад

    I know "DRY" but THANKS again Kevin!😆 You literally save and elevate my life ❤🧡💛💚💙💜🤎

    • @Gearyco
      @Gearyco  4 месяца назад

      Appreciate you!

  • @grasshopperweb
    @grasshopperweb Год назад +2

    these pseudo elements really break the "boxes within boxes" feel of most websites in a way that border radius just can't. Definitely adds a pro touch. I'm terrified of how many hours I already know I'm going to spend fiddling around with making custom little pseudo elements :P
    THANKS A LOT 😝😝

  • @rubengarciajr
    @rubengarciajr Год назад +3

    you are a natural born teacher. thank you for the training!!

  • @petrajovkov8622
    @petrajovkov8622 Год назад +3

    Kevin, thank you!!!! Thank you for PB101 and ALL of your trainings. You are a real MENTOR to me!!!! Please keep on doing what you are doing 👍👍 ACSS & FRAMES ( & Frames for FIGMA soooooooon.....) = all I need ;-)

  • @MrImperios
    @MrImperios Год назад +1

    You are the best, since I found you on YT I only watch your videos and the other i did watch before are out. Thanks for all

  • @davidwalls2304
    @davidwalls2304 Год назад +1

    Another great lesson in the series. I'll need to rewatch the positioning video, well more likely most all of the videos to keep everything fresh in my mind, but a worthwhile time investment.

  • @Repko01
    @Repko01 Год назад

    Kevin, you are Mr Beast of CSS, helping us all to grow. Thank you very much!

  • @benjaminpau
    @benjaminpau 10 месяцев назад

    From somebody who doesn't have any experience in CSS or coding background, your videos help me a lot in understanding the basic that one should practice! Thanks a lot!

  • @varidenes
    @varidenes Год назад +1

    Kevin! You are a phenomenal teacher! Thx!

    • @Gearyco
      @Gearyco  Год назад +1

      Thank you 🙏

  • @rafikiAli
    @rafikiAli 7 месяцев назад

    You may have a gift for teaching. I applaud you for recognizing it and maximizing the impact through effort, determination, and intentional mastery of your craft!
    *Thank You*

  • @matthewolding9427
    @matthewolding9427 Год назад

    I've been building websites for years and I've learned something from every single PB101. This episode the distinction between pseudo elements and pseudo class and they way they are written ( :: vs : ) finally clicked for me. Great stuff.

  • @ted-e-baer
    @ted-e-baer Год назад +1

    Thanks, Kevin, for this pseudo elements lesson. Going to re-watch this a second time. Looking forward to the next tutorial/class (pun intended) on: pseudo classes. Thanks again, Kevin.

    • @Gearyco
      @Gearyco  Год назад +4

      It'll be right ::after this one.

    • @ted-e-baer
      @ted-e-baer Год назад +1

      Eye sea what you did there, Mr. Geary.@@Gearyco

    • @derekshort
      @derekshort Год назад

      @@GearycoI.C. what you did there. 😉

  • @vishalsahi3832
    @vishalsahi3832 8 месяцев назад +1

    Amazing! Your dedication to creating high-quality, and informative content is truly admirable ❤🙏

    • @Gearyco
      @Gearyco  8 месяцев назад

      Thank you so much 😀

  • @uzzamafroz
    @uzzamafroz Год назад +1

    Thanx Kevin, Best explanation of pseudo elements I have ever got.

    • @Gearyco
      @Gearyco  Год назад +1

      Glad it was helpful!

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

    Kevin, I wanted to add faint lines between blocks I added to a FRAMES element. After scratching my head for awhile not wanting to be a "chump", I remembered how you use pseudo elements like a magician. After rewatching this PB101 episode, the confusion cleared.

    • @Gearyco
      @Gearyco  8 месяцев назад

      Good to hear!!

  • @TheJimMcDermott
    @TheJimMcDermott 4 месяца назад

    Refactoring, it's not just for server side code. I'm digging the lessons inside lessons!

  • @kareem2928
    @kareem2928 Год назад +1

    Well done, Thx Kevin.

  • @derekshort
    @derekshort Год назад

    Good video. Thanks! I already knew about these but it was a good reminder. I will have to actually use them to impress clients.

  • @mikkey0001
    @mikkey0001 11 месяцев назад

    It's so obvious once you know👍🏼

  • @koqpe13
    @koqpe13 Год назад +1

    Спасибо, отличный урок.

  • @eucalyptech
    @eucalyptech Год назад

    Great tutorial on Pseudo Elements ! Thank you Kevin 😀

  • @jenniferward6821
    @jenniferward6821 Год назад

    Excellent tut

  • @KeshavDaBhutra
    @KeshavDaBhutra Год назад +1

    Love your video as always this is super useful

  • @mihaiandrei97
    @mihaiandrei97 Год назад

    The moment I saw the lady on the plane meme, I just had to press the like button lmao

  • @John.Rearden
    @John.Rearden Год назад

    Good lesson

  • @stphnmwlkr
    @stphnmwlkr Год назад +1

    Kevin, great lesson. Since this was a introductory course and not generally focused on Bricks, what are your thought on using the Bricks pseudo element features versus hand coding in the CSS block versus using something like wpCodeBox to manage the CSS? I have an opinion (more the wpCodebox route for reuseability outside of Bricks), but curious to know yours.

    • @Gearyco
      @Gearyco  Год назад +2

      I hate this bricks pseudo area. One of the worst parts of bricks IMO. I write custom CSS for all that.

  • @mclouds888
    @mclouds888 Год назад +1

    Thank you, Kevin, as usual! t The marker styling was unknown to me; how can you zero that left margin the bullets usually have? In your example, they are left aligned with the text above them.

    • @Gearyco
      @Gearyco  Год назад +3

      Anything can be done with margin/padding. A lot of times it's on the ul instead of the li --- just have to inspect and see where it's coming from.

  • @jzea5605
    @jzea5605 Год назад

    My god, I have gone from chump, to not-so-chumpy after a week of binging this playlist (I loved it so much I;m gonna be watching them again to let it soak in - I even learned the word lede haha). Love it Kevin! I was keen to know your thoughts on the "Stop using code snippet plugins" by Adam Lowe on RUclips as I am massive fan of your plugin blueprint for Wordpress but it includes a code snippet plugin like many I've seen across RUclips land.

    • @Gearyco
      @Gearyco  Год назад +2

      It's generally not a problem. If you have a site that requires a higher level of security it's a good idea to remove it. But for most projects it's a non-issue, especially if you're just using it for CSS/SCSS.

    • @jzea5605
      @jzea5605 Год назад

      @@Gearyco nice. Thanks for getting back so quickly.

  • @RavishankarAyyakkannu
    @RavishankarAyyakkannu Год назад

    Excellent lesson. Thank you.

  • @bjoernzosel
    @bjoernzosel 11 месяцев назад

    wow! That's awesome!! The others are psychopaths 🤣 divs coming out of our ears 😂😂

  • @rickdugmore
    @rickdugmore 9 месяцев назад +1

    I really was a savage psychopath, wasn't I? What have I done?

  • @Louis-C-online
    @Louis-C-online Год назад

    Every one of your videos is a pleasure to watch thank you !
    One question tat popped up : you created an overlay using a pseudo element, and in Bricks there's already a native option to dot it i the builder. Any advantage of using one way or the other?

    • @Gearyco
      @Gearyco  Год назад +1

      Using the css box is way better workflow efficiency

  • @martinbuno3990
    @martinbuno3990 7 месяцев назад

    Kevin, many thanks for this video. I want to ask you, I have a problem with responsive display (especially on mobile) with pseudo elements. Can you please advise how to do this?

    • @Gearyco
      @Gearyco  7 месяцев назад

      Not usually, no.

  • @sophiemulders
    @sophiemulders 11 месяцев назад

    Would it be possible to get a highlight style with this. Like ; ‘Duo tone Heading’ in which the word Heading gets a background color with some padding? If yes how would this work?

    • @Gearyco
      @Gearyco  11 месяцев назад +1

      Wrap the word you want to style in a span tag and give it a class like .highlight

  • @davidyisrael403
    @davidyisrael403 4 месяца назад

    Doesn't Bricks have pseudo elements in their CSS parameter settings? eg. image overlay or background overlay?

    • @Gearyco
      @Gearyco  4 месяца назад

      Bricks pseudo element area should be avoided. It’s not well done.

  • @laufal
    @laufal Год назад

    Thank you @Gearyco. May I ask how you "remove elements from your Bricks install"?

    • @Gearyco
      @Gearyco  Год назад +1

      Just hide them. There’s a snippet in the inner circle.

  • @filmgenius2
    @filmgenius2 Год назад

    Suppose I had the text "Hello I'm a short Sentence" and I wanted to style the letter "A" using CSS to apply a slight rotation. How could I achieve this? This is just for illustration purposes.

    • @Gearyco
      @Gearyco  Год назад +1

      Wrap it in a span tag and style the span.

  • @user-cq1dm9xm8m
    @user-cq1dm9xm8m Год назад

    Just a suggestion. You can zoom in your website a little bit so it will be clearer for those who use small screen. ❤

  • @filmgenius2
    @filmgenius2 Год назад +1

    I was not expecting 0:35 😆.

    • @Gearyco
      @Gearyco  Год назад

      Gotta keep you on your toes.

    • @derekshort
      @derekshort Год назад

      @@GearycoWho is the physically attractive angry woman? 🤔 We need to know. Lol😅

    • @Gearyco
      @Gearyco  Год назад

      @@derekshort Do you live under a rock? Lol. knowyourmeme.com/memes/that-motherfucker-is-not-real-plane-woman

  • @LapoCerchiai
    @LapoCerchiai 5 месяцев назад

    amazing lesson Kevin! Thank you very much!
    Just a question: what is the best way to parameterize a class? In your videos you do this by inserting the custom CSS inside the element. Or maybe it's better to write them all in Bricks custom CSS? But that way I have to go out and do it "blind" every time...

    • @Gearyco
      @Gearyco  5 месяцев назад

      Not quite sure what you are asking?

    • @LapoCerchiai
      @LapoCerchiai 5 месяцев назад

      @@Gearyco Hi Kevin, thanks for the quick response!
      for example, at minute 21:07:00 you created a ".media-accent" class and then entered the values in the "CSS -> Custom CSS" field of Bricks Builder.
      Is this the correct procedure or is it preferable to create and insert the values for the class created in Bricks -> Settings -> Custom Code?

  • @derekshort
    @derekshort Год назад

    How do you align the text after the big red W? The following characters look pushed up.

    • @Gearyco
      @Gearyco  Год назад +1

      You don’t, you just keep aligning the W to wherever you want it to go. I would recommend using a longer paragraph and then you can see exactly what needs to happen.

  • @abdulwaheedorg
    @abdulwaheedorg 6 месяцев назад

    It's super good.
    Is there a way to set the width and height to the half of the image height?
    Let's say we need to add this class to a smaller image, then how we can adjust it to fit according to the height of the actual element?

    • @Gearyco
      @Gearyco  6 месяцев назад

      % is possible too

  • @zuber7358
    @zuber7358 Год назад

    "That mofo back there is not real" 😂

  • @carlosp.1846
    @carlosp.1846 6 месяцев назад

    The problem later on is to remember in what wrapper I put the code of this pseudo element.

  • @simonkerridge
    @simonkerridge Год назад

    Is this the last PB101 video? I am getting withdrawal symptoms waiting for another! 😉

  • @jerryb6728
    @jerryb6728 Год назад

    Why are you using pixels for the media accent and not rem or en?

    • @Gearyco
      @Gearyco  Год назад

      Because I don't want it to scale with the users root font size. I want it to stay the same size at all times.

    • @jerryb6728
      @jerryb6728 Год назад

      @@Gearyco got you I guess I d have to practice enough to know when you want something to stay the same size in mobile as it is on Desktop... This must be one of those situations

    • @Gearyco
      @Gearyco  Год назад

      @@jerryb6728 px/rem isn't about mobile, really, it's about what happens when the user adjusts their root font size.

  • @mmaayta82
    @mmaayta82 Год назад

    And I thought I knew pseudo elements 🤔

  • @wanja8461
    @wanja8461 Год назад

    hahahaha the mf is not real. Well, but she is, so I am sorry for her having such a public bad day. Wish her well.