toast.ooo
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish ·
edit-2
1 day ago

CSS Gardening

sopuli.xyz

message-square
18
link
fedilink
509

CSS Gardening

sopuli.xyz

bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish ·
edit-2
1 day ago
message-square
18
link
fedilink
alert-triangle
You must log in or register to comment.
  • who@feddit.org
    link
    fedilink
    English
    arrow-up
    16
    ·
    22 hours ago

    https://csszengarden.com/

    • some_guy@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      21 hours ago

      Came to say the same. I’ve never taken it so literally.

  • shovingleopardnsfw@lemmynsfw.com
    link
    fedilink
    arrow-up
    28
    ·
    1 day ago

    Sadly

    position: top;
    

    is not valid css. It should say

    position: absolute;
    bottom: 0px;
    

    Still funny though.

    • anguo@piefed.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      The px is making me eyes itch.

    • shovingleopardnsfw@lemmynsfw.com
      link
      fedilink
      arrow-up
      13
      ·
      1 day ago

      Ah, the author fixed it. Good job.

      • hemmes@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        23 hours ago

        Thank God, that would’ve eaten me alive

    • some_guy@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      21 hours ago

      You design people and your pedantry. > /dev/null for you.

      Jk, you’re fine.

  • Michal@programming.dev
    link
    fedilink
    arrow-up
    20
    ·
    1 day ago

    If you trim that bush, it’ll seem larger

  • yetAnotherUser@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    Why is .tree’s position relative?

    • bleistift2@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      28
      ·
      1 day ago

      Needed for the .leaves’ absolute positioning to be relative to the tree, and not relative to the universe.

      • hemmes@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        23 hours ago

        Damn, I thought you were going to take me out to dinner first

    • BleakBluets@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      21 hours ago

      It’s so the position: absolute for .leaves works relative to .tree. The implication is that .leaves is a descendant of .tree.

      position: absolute looks for the nearest ancestor with a set position in order to determine its own positioning context. Otherwise the absolute positioning would basically be relative to the viewport. If the position: relative was missing, the leaves would be against the bottom edge of the image.

      source

      edit: I mean .leaves, not .branch

  • Hofmaimaier@feddit.org
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 day ago

    Okay, nun weiß ich wie man Scharmbehaarung programmiert…

    • bleistift2@sopuli.xyzOP
      link
      fedilink
      Deutsch
      arrow-up
      8
      ·
      1 day ago

      Das ist nicht _iel.

      • Samsy@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        This is mad_css!!

        • bleistift2@sopuli.xyzOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          THIS IS SPARTAAA

    • SubArcticTundra@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      21 hours ago

      deleted by creator

    • bleistift2@sopuli.xyzOP
      link
      fedilink
      Deutsch
      arrow-up
      4
      ·
      1 day ago

      Und *Scham

      • Hofmaimaier@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        Scharm ^^

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.91K users / day
  • 4.77K users / week
  • 8.61K users / month
  • 19.5K users / 6 months
  • 11 local subscribers
  • 25.6K subscribers
  • 1.65K Posts
  • 60.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org