Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

SJWs attempt to do CSS

Name: Anonymous 2018-09-02 17:33

https://pbs.twimg.com/media/DlxC2GmWwAATkBR.jpg:large
a color is not a valid selector and there is no CSS property called lives.

Name: Anonymous 2018-09-03 7:13

Wow... powerful......

Name: Anonymous 2018-09-04 18:38

lol

Name: Anonymous 2018-09-04 19:18

I actually like it.

Name: Anonymous 2018-09-04 19:37

>>4
you like invalid code that doesn't make sense?

Name: Anonymous 2018-09-04 20:30

>>5
Code is for humans to understand first and for computers to execute second. This is an obvious humourous code not meant tobe executed, so the latter does not apply, and if someone with basic knowledge of CSS claims they do not understand the intent, they are being obtuse.

Name: ironylord 2018-09-04 20:38

>>6
but they could have just as easily used an ID or class selector in such a way that it actually makes sense

Example:
.black {
lives: matter;
}

or
#black {
lives: matter;
}

those are both perfectly valid, but a hex representation of a color that doesn't correspond to an element or class or ID is not

they could've even used !important or a z-index or something to be more clever, instead of this ``I'm pretending to know about web development even though I have no idea bout it'' bullshit

I bet the person wearing that shirt doesn't even know CSS

Name: ironylord 2018-09-04 20:41

well I mean it's technically not valid because I don't know of any property called ``lives'' but you get the idea

it's still more correct that using a fucking hex code as a selector

Name: Anonymous 2018-09-04 21:20

Why would #black be valid but #000000 not be? This must be a really shitty language.

Name: Anonymous 2018-09-04 21:24

>>9
because #black is an ID selector for a user-defined class and they were doing a hex representation of a color

you can give an HTML element something like class="whatever" and then change it with a CSS selector of #whatever {}

and yeah, CSS is a shitty language, and it's not turing complete, so it can't be compared to turing complete languages

it's just layout and animation

Name: Anonymous 2018-09-04 21:28

I meant ID, not class, but you know what I meant

but they should have used a class selector because IDs are for unique thins only, and wouldn't a race be a lot of people, hence non-unique? unless you want to only include one person

Name: Anonymous 2018-09-04 23:06

this is the hallmark of autism, not being able to tell that this is a metaphor.

black is a selector. lives is a property. matter is the state assigned to that property.

what would you have preferred?
(setq stuff-that-matters (cons ‘black-lives ‘stuff-that-matters))

Name: Anonymous 2018-09-04 23:38

>>12
complaining about autism
look where you are, dude

Name: Anonymous 2018-09-05 5:03

>>10
because #black is an ID selector for a user-defined class and they were doing a hex representation of a color
Why would #000000 not also be an ID selector for a user-defined class?

so it can't be compared to turing complete languages
Nobody in this thread tried to compare it to turing complete languages.

Name: Anonymous 2018-09-05 7:33

CSS3 is turing complete though

Name: Anonymous 2018-09-05 11:13

>>12
what would you have preferred?
A selector that actually works instead of a shitty hex color joke.
Plus, I haven't seen any afro-american who would steal all the light, they usually reflect enough to look brown. So she needs a class anyway, unless it's only the lives of aphotic 0% afro-creaturas that matter.

Name: Anonymous 2018-09-05 11:37

A selector that actually works instead of a shitty hex color joke.
This should have worked, had CSS not be shit.

Name: Anonymous 2018-09-05 17:44

Array.from(document.getElementByTagName(“*”)).filter(el => el.color === “#000” /* fix this Greg */).forEach(el => el.setAttribute(“matters”, “matters”)

Name: Anonymous 2018-09-05 17:54

>>18
Uncaught SyntaxError: Invalid or unexpected token “
Uncaught SyntaxError: Invalid or unexpected token ”
Uncaught TypeError: document.getElementByTagName is not a function

Name: Anonymous 2018-09-05 18:30

I've heard that people use preprocessors for CSS nowadays. Sass comes up a lot. Is it worth using? I have no problem with using CSS3 by itself. What's the point in learning a preprocessor?

Is it one of those ``spend time learning this additional tool and it'll make things easier'' gimmicks? Like I once learned a templating engine for HTML that was actually more complicated than HTML itself! Is that what Sass is? It's like ``why learn CSS when you can use Sass'' but I already know CSS so why even bother?

Name: Anonymous 2018-09-05 18:31

I said ``templating engine'' but I really mean a preprocessor-type thing that turned some weird pseudocode into HTML. I think they called it up a markup language. Except HTML is already a markup language, so it was markup for markup. Fucking stupid, redundant idiocy. I don't know if Sass is the CSS equivalent for that, but it might be.

Name: Anonymous 2018-09-05 18:52

>>20
Same. But it has features CSS doesn't have like variables, functions, namespace nesting, etc.
Most people don't need all this, but I guess some """web 3.0""" sites feel the need to use it.

Name: Anonymous 2018-09-11 3:55

>>20
Sass reduces some of the retarded repetition and verbosity that vanilla CSS forces on the author. WARNING: ignore its ``advanced`` features as they are only used by perverts.

Name: Anonymous 2018-09-11 15:02

>>23
this.
nesting is pretty nice.

Don't change these.
Name: Email:
Entire Thread Thread List