Learn CSS ::before and ::after in 4 Minutes

ΠŸΠΎΠ΄Π΅Π»ΠΈΡ‚ΡŒΡΡ
HTML-ΠΊΠΎΠ΄
  • ΠžΠΏΡƒΠ±Π»ΠΈΠΊΠΎΠ²Π°Π½ΠΎ: 7 сСн 2024
  • CSS Pseudo Elements Tutorial for beginners with creative code examples, explanations and animations about css pseudo-elements ::before and ::after, how to they work and how to use them. In this tutorial, we'll show you how to use ::before and ::after pseudo-elements to achieve creative designs that aren't possible with regular CSS.
    Become a Member to Support our Channel:
    πŸ‘‰ / @coding2go
    *Check out our website*:
    πŸ‘‰ www.coding2go.com
    * Get our HTML Udemy Course*:
    πŸ‘‰ www.udemy.com/...
    *Host your own website with Hostinger*:
    πŸ‘‰ www.hostinger....
    Use our code CODING2GO to get a 10% discount
    *What You'll Learn*:
    Creating Custom Bullet Points: Replace default HTML list bullets with custom designs using ::before.
    Animating Backgrounds: Add animations to backgrounds with ::after.
    Floating Design Elements: Add floating design elements without extra HTML.
    Advanced Styling Techniques: Use gradients, border-radius, hover effects, transitions, and animations with pseudo-elements.
    Key Points:
    Pseudo-Elements: They only exist in CSS, not in your HTML code.
    Content Property: Required even if it’s an empty string.
    Positioning: Use position: absolute; on pseudo-elements and position: relative; on the parent element.
    Styling: Apply any CSS properties like background-color, gradients, shadows, etc.
    Practical Examples:
    Underline headings with custom styles.
    Redesign bullet points using ::before.
    Create cool hover animations with ::after.
    Topics:
    HTML tutorial, CSS tutorial, CSS pseudo-elements, ::before CSS, ::after CSS, custom bullet points, background animations, web design tips, learn CSS, Beginner Tutorial, web development
    Background Music
    Track: "Little Things"
    Music provided by Slip.stream
    Free Download/Stream: get.slip.strea...
    Track: "One More Night"
    MΓΊsica fornecida por Slip.stream
    Download grΓ‘tis/Stream: get.slip.strea...

ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ • 112