The Best Pseudo Elements Training You'll Ever Watch (Re-Usable, Unique Pseudo Elements)

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

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

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

    Thanks for watching! If you can toss up a like and drop a comment, it's always appreciated!

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

    My father always said, "you don't know anything unless you can teach it!"
    Your lessons are always packed with just great, generous amounts of value, and this one is no different.
    Your interesting, simplified breakdown, is truly life-changing for older beginners, trying to adopt a new mindset, skill, and knowledge base.
    Thanks again!

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

    You know what?... That was the best lesson on pseudo elements. I've been watching w3school like an idiot for 1 week and I still don't know anything. With this tutorial I am completely reborn :)

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

    I can't believe I get all this value for free! Since I've been following these trainings, my knowledge and skill has increased exponentially. Please keep 'em coming, Kevin.

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

    This looked so complex when looking at it on the frontend, but it's actually super simple and effective! Thank you so much for putting out all this content 🙏🏼🤩

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

      Glad it was helpful!

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

    Thanks young man. This was a good lesson. May you be blessed ❤

  • @toby-green
    @toby-green 9 месяцев назад

    Love this - a really simple method of spicing up designs without using images.

  • @zdenekholy2634
    @zdenekholy2634 9 месяцев назад

    OMG ... came here to have a quick look how to do "pseudo" in Bricks (coming from Oxygen) ... and boy did I stay till the end. A bit overwhelming with all these variables, but certainly it pays off to do it that way. Well worth the effort.
    Kevin, such a great video to learn from ... THANK YOU.

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

      You're welcome!

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

    I'll take a few months off work in order to watch all your videos 😅. Can't stop anymore. So nicely explained and very knowledgeable.

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

    Mind....blown! You have no idea how much value this one video created!
    (Theme song "A whole new world...." currently playing in my mind. Thank you!

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

    Such a character, you make tutorials interesting and your manner keeps viewers engaged. From an old school C and C++ developer, its interesting to see how much further they have taken the CSS language. All though the terminology you use is a bit different, like for instance , a variable that holds the value of the name/location of another variable is called a pointer variable. Not that it matters to much. It only helps when your students work in large teams and referencing code structure at a communication level with others in different units. eg. Front end team talking to back end, etc.
    Thank you for all your hard work in creating this educational source and making it all open source. BIG UP and Kudo's to you in making this available to everyone including those with no income or means to afford this first class resource.

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

    Dude, you're amazing. I think I love you.

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

      🤭

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

    That was like drinking from a fire hose! Awesome job. Masterfully done Kevin.

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

    Take my Like for living dangerously by running tutorials on your live site! And a huggeee thank you for being this fountain of knowledge!

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

    My CSS IQ just went up a few notches. Thank you Kevin!

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

    Your style provides tremendous confidence to your audience. I use pseudo elements all day in my day job that has little to do with web design (re: advertisement) but picked up on some really cool ideas. I need a linkable TOC to all your videos/posts that I can reference later on a click. A GearyPT, if you will 😂

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

    Parametrize everything! A great lesson that I learn with functional programming: it allows you to keep central control & clean code. A great lesson as always Kevin, thanks!

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

    I hit like before I even watch because I know its gonna be gold.

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

    Tremendous value. You are right, I have never seen this much in-depth and easy tutorial on Pseudo elements. Thank you so much :)

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

    Absolutely awesome tutorial Kevin. Overgasted and flabberwhelmed. Really opened my mind to better and more efficient development. Please more indepth and dumbed down tutorials like this. I am sure a lot of us are more of visual learners and we would gain a world of knowledge from these. Thanks so so so so so much. God Bless.

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

    Wonderful - incredibly valuable content, thank you Kevin :)

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

    It's such a tremendous value for free, Kevin....I can't imagine what's inside the Inner Circle...and now I want to join. Really, want to improve my skills🙂

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

      Come on in!

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

      I have been a member for a while now and consider myself a total Novice. I can't imagine a better community for anyone wanting to learn.
      Kevin is incredible and seems to attract people of the same spirit and energy. I would recommend it to anyone trying to learn, improve or keep up.

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

    So grateful for your excellent training here! I went through and did everything step by step, and it works like a champ!!

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

      Glad it helped!

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

    Very helpful and informative! Thank you.

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

    I'm totally going to start doing this with everything, Great technique, thanks for sharing!

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

    Thank you Kevin for sharing those golden nuggets. Such great value !

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

    Another golden nugget of dechumpification. 👍

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

    This is such a thorough and insightful tut Kevin - thank you so much! Now I'm trying to figure out how to not blow out my margins on mobile. Media queries?

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

      Overflow hidden usually

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

    This training was so helpful! I haven’t used locally scoped variables but am going to in the next project!

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

    This was absolutely brilliant. Thank you so much for making these videos. Amazing!

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

    Great lesson, thanks Kevin!

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

    Great video Kevin! My collection of CSS notes/concepts/tricks is growing.

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

    Amazing! You always give the best instruction and encourage us to work smarter not harder! Thanks!

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

      Happy to help!

  • @GeorgeMavrommatisgmattis
    @GeorgeMavrommatisgmattis 25 дней назад

    Αmazing!!! Kevin you are a css genius

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

    The portal to a new dimension 🤯

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

    Nice video, Kevin! I guessed how locally scoped variables work, thanks to seeing a lot of them in Frames components 😊
    Would like to see a following up tutorial on how you animate this with GSAP.
    Maybe an advanced InnerCircle tutorial?

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

    Awesome tutorial, packed with all kinds of valuable nuggets as always, thank you!

  • @DigitalDesigns1
    @DigitalDesigns1 9 месяцев назад

    Your a good teacher..

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

      I appreciate that!

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

    Thanks very much Kevin Geary, this is an excellent video and mind blowing. I am currently learning CSS and this video really made me understand better Pseudo (::before and ::after).

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

      You're very welcome!

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

    Between Kevin Geary and Kevin Powell that's all you really need to learn about css.

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

    Excellent video. Thanks for such a great technique 👏🏼👏🏼👏🏼

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

    Awesome dude, thanks! The only thing I was wondering about is why you used custom CSS to style up pseudo? You could simply style everything up by using Bricks' Layout, Background, Transform panels (isolation prop excluded). Essentially, every custom class (including the custom class + pseudo) can be styled up via the Bricks panels. Even the CSS filters. Cheers!

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

      It’s way slower and less efficient and less organized.

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

    Just Beautiful !👍 so amazing learning

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

    Super video Kevin - wonderfully explained.

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

    Huge value as usual! Really hope you will make a video about your Perfmatter setup for optimization :) Thanks a lot!

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

    Great value, I just run into a strange problem with the before-bg variable. No matter what I do, the shape just disappears while the after works just fine with the after-bg variable. Sorry, forgot a closing ; on the previous line.

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

    Very nice tut indeed Kev, thanks for your time!

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

    I was like " I CAUGHT THAT ROTATE ERROR" - I've learned more the last 5 months with your videos than i've learned my previous 6 years as a developer... I'm sure people learn more with these small mistakes than just a "robot" talking...

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

    Could someone explain in more detail what Kevin meant by saying "pseudo elements are impacted by what goes around it".?
    W3 schools say that pseudo elements (pseudo classes) only work on block-level elements. So the height should be dictated by the content and the width dictated by the parent.
    So how does flex change anything.?
    Would just like to understand this part of the video.. 11:30 / 49:37

  • @Max-repUk
    @Max-repUk Год назад

    Tremendous content as always. Thank you Kevin!

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

    Very very good, extremely handy

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

    Great Stuff.

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

    Elementor has the ‘spacer’ widget with gradients effect, and there is a good RUclips video on it on their channel, and this same effect can be achieved without using a line of code and in minutes. This was unnecessarily complex. Sometimes your videos make me love the simplicity of Elementor more and more.

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

      The spacer widget would be the absolute worst way to implement this. Horrific for scalability and maintainability.

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

      @@Gearyco It seems you watched the wrong video on spacer. The title of the correct video is ‘Create Vibrant Gradients Background in Elementor’ it uses the Spacer element.

  • @ST-rq8jw
    @ST-rq8jw Год назад

    Thnx

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

    Kevin! This is phenomenal! :)

  • @danieldk9433
    @danieldk9433 9 месяцев назад

    Interesting episode but I don't understand one thing. Why create a local scoped variable? What are the benefits of this?
    I can achieve the same effect: Create a new section, add the .blur class, copy the css code (like You did in 42:24 but You copy local scoped variables) with before and after functions (which you did 24:48) and paste it into the section with the .blur class deselected - just change the parameters (degree of deviation, color, etc.) .

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

      ruclips.net/video/pqguxVBa18o/видео.htmlsi=eymjcxpl0Ped2aaL

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

    12:00 unsure why absolute works like this. We have not defined anything as relative, so should it not align from the whole DOM instead when absolute?

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

      There was a version of Bricks where they set things to position relative by default. I can't remember if this was one of those versions or not. But then we persuaded them to fix that because it caused so many issues. But absolute elements will also somewhat behave relatively until they're given inset coordinates. I'd have to go back and watch the full video to see what order I did things in to really know.

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

    Great content! Thank you!

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

    This may be a dumb question, but if I create variables outside of the bricks builder window, do I place them on my CSS style sheet or WP Code box?

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

      I put mine in codebox

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

    Another great tutorial, Kevin. Thanks. Can you tell us how did you do the hero bg showing those lines? Is it a jpg or is CSS?

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

      It’s just a repeating pattern image

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

    Kevin, would if you also had chapters in the video. Way easierto navigate and when I come back to this look at it again 😊

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

      I normally add them. Forgot!

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

    Hi Kevin, I wanna thank you for all the great stuff you are teaching us! I’m also a member of your fantastic Inner Circle Community and it offers an incredible value 🎉 I’ve got a question here. I can’t get the pseudo element to become visible, if I add the class to the image. I’ve tried it in Bricks and in Oxygen… when I take the class to the div which wraps my png, then it works. What am I doing wrong?

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

      Pseudo elements don’t work on images. It’s a CSS limitation.

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

      perfect 😊 then I got it. I made it through this whole ‘crazy’ variables stuff 😊 with the use of a little chocolate 😂🎉 and now I’m convinced that every project needs it’s pseudo element variables to play around with…😅

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

    Amazing tips thanks

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

    Join inner circle, Kevin needs a new shirt and cap 😅

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

      I’ve got like 12 hats but this one is so damn comfortable!

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

      @@Gearyco no dig. My wardrobe is pretty consistent.

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

    Hi, thanks for the tutorial! But I don't get it to work. If someone has an idea why, I would really appreciate the help.
    I don't get the pseudo-element to show up in the preview or on the actual site.
    I have done a new class named: blur. And I have clicked on the pseudo-state to write in the CSS code.
    Is there something I missed?
    root::before {
    content: "";
    height: 40rem;
    width: 40rem
    background-color: red;
    display: Flex;
    position: absolute;
    }

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

      Raw Images don’t support pseudo elements so make sure your image is using a figure tag.

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

      @@Gearyco Another nugget! Thanks!

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

    Kevin, this is very nice and helpful tutorial, keep going. My wife is gonna divorce me because she said I watch these videos more than I talk to her. :D hahahahaha"

  • @bikimel-directes
    @bikimel-directes Год назад

    Sensei lms ( related to the previous commemt)

  • @bikimel-directes
    @bikimel-directes Год назад

    Supercool just what i meed dor the next website!! Thank you kevin!!! Wondering if in inner circle are issues about sensei

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

      Haven’t ever used it :/

    • @bikimel-directes
      @bikimel-directes Год назад

      Is because a client already is using it , son i have to mantin it. It’s a pretty simple lms that does the job , and its fee open source. Thank you.

  • @t.t.2977
    @t.t.2977 6 месяцев назад

    Hey Kevin, great job as always. :) I have a question, I followed your tutorial video, but with your css code I always get an overflow on the entire website.: %root% {
    isolation: isolate;
    }
    %root%::before {
    content: "";
    width: 30rem;
    height: 30rem;
    background-color: var(--action);
    position: absolute;
    left:;
    bottom: auto;
    right:;
    display: flex;
    z-index: -1;
    transform: rotate(10deg);
    filter: blur(70px);
    opacity: .2;
    }
    I really don't know what I'm doing wrong or what else needs to be done to make it work. Best regards

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

      Add Overflow hidden on the section

    • @t.t.2977
      @t.t.2977 6 месяцев назад

      @@Gearyco Ah ok, I should put the hidden on the section, I only tried it with the individual containers. But what's still very strange is that I have to enter the hidden again for mobile even though it was already grayed out. Regardless, it's probably a bug, but entering it later helped.
      Thank you Kevin for your great support and what you do for the community.

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

    Is it that much better from just overwriting only those properties which I need? Like add blur to a new element and then in css do :root .blur::before {color: red}. I don't see much difference, it also has some advantages like no creating of a lot of local variables, no need of remembering them and also they can become a bit hard to read.

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

      The variable way is far more efficient and more organized. You’re welcome to try it both ways. Multiple classes is far messier.

  • @thewhiterussian138
    @thewhiterussian138 23 дня назад

    more gangsta gold.

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

    Another Great video. qq: If you had a huge site that needed 15+ Post Types and 30+ posts per type, would you structure it differently? How would one manage all those post types on the admin side panel? Thanks

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

      Depends on what they’re for.

  • @alexander-van-aken
    @alexander-van-aken Год назад

    Great one! Didnt knew about inset and neither isolation! So that makes it great already, but with the details about the locally scoped variables it even became more clear!
    So basically i create a mater css file with a bunch of classes like blur, dropshadow and what not, add it into wpcodebox its repository to reuse it where I want as long as I add the vars to the id, im good to go. What more scenarios could be added to the master css file? Looking for a determination for wether I go this route or the acss class route. I guees it has to have a need for a pseudo classes right?

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

      What you're describing would be globally scoped variables. Those are different.

    • @alexander-van-aken
      @alexander-van-aken Год назад

      @@Gearyco ok maybe I explained it wrong. In your video you explain that root inside a class is basically the replacement for the class itself. So .blur::after and .blur::before within the class. so I meant that im going with .blur with the vars in wpcodebox and inside the class in the builder I leave the root::before and root::after stuff since that is not relevant for inside wpcodebox right?

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

    yeeeeeeey

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

    Kevin I noticed you actually typed out the variable @16:30 like a chump LOL instead of using the Variable Expansion feature. Joking. Great video though

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

      The first version of variable expansion had a bad bug that broke pseudo element strings in the CSS, so I have PTSD. I'm slowly building my confidence back in using the expansion feature in the CSS field. Lmao.

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

    hahahaha..blur... zero control... yeah... I feel called out. lol

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

    You. Know. Your. Shit. That's all I got to say.