this post was submitted on 28 Jul 2023
924 points (96.3% liked)

Programmer Humor

19488 readers
1129 users here now

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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 37 points 1 year ago (2 children)

Image Transcription: Meme


STOP USING CSS

* HTML WAS NOT SUPPOSED TO BE GIVEN CLASSES
* YEARS OF MARKUP yet NO REAL-WORLD USE FOUND for styling beyond \
* Wanted to center content for a laugh? We had a tool for that: It was called ""
* "Yes please align that content exactly 32.89% left. Please align 59.0px down"
    - Statements dreams up by the utterly deranged

LOOK at what FRONT-END Devs  have been demanding your Respect for all this time.
(This is REAL CSS. done by REAL Devs)

[Three screenshots of CSS code, each one marked with a number of red question marks. The first screenshot has five question marks and reads as follows:]

h1 {
        font-size: .75em;
        position: absolute;
        bottom: 20px;
        width: 94%;
        left: 2%;
}

[The second screenshot has eight question marks and reads as follows:]

*{
    font-size: 30px;

}
    q::before {
  content: "«";
  color: blue;
]

q::after {
  content: "»";
  color: red;
}

[The third screenshot has sixteen question marks and reads as follows:]

#header ul a:focus, #header ul a:active,
#header ul a:hover {
    background-color: #5A5A5A;
    outline-color: -moz-use-text-color:
    outline-style: none;
    outline-width: medium;
}

[The screenshots end.]

"Hello center that div please"

They have played us for absolute fools


I am a human who transcribes posts to improve accessibility on Lemmy. Transcriptions help people who use screen readers or other assistive technology to use the site. For more information, see here.

[–] [email protected] 17 points 1 year ago (1 children)

This comment was formatted better than the image.

[–] [email protected] 5 points 1 year ago

And not by a small margin.

[–] [email protected] 15 points 1 year ago