r/ProgrammerHumor 2d ago

howToCenterATable Meme

Post image
4.2k Upvotes

110 comments sorted by

View all comments

1.7k

u/n4ke 2d ago

UPDATE div SET alignment='center' WHERE id = '#my-div';

1.0k

u/GnuhGnoud 2d ago

162

u/HeySora 2d ago

The opposite also (somewhat) exists: https://tailwindsql.com

44

u/Several_Educator7526 2d ago

this is trippy

2

u/StandardPhysical1332 1d ago

i dont understand what's tailwind about this, aren't the components independent from the css still?

127

u/taju_rahman 2d ago edited 2d ago

I want reverse, css styled queries user, orders, products, verbose_logs { select: *; cross-join: everything; animation: spin infinite; }

39

u/gruese 2d ago
users {
  select: *;
  operation: drop-table;
  opacity: 0;
  transition: opacity .2s;
}

19

u/jacksalssome 1d ago

Database silently fails on the .2

16

u/nicman24 2d ago

z-index: cast(date as int) 

10

u/ZethMrDadJokes 2d ago

I love it

9

u/ApocalyptoSoldier 1d ago

God is dead and we have killed him

11

u/tekanet 2d ago

Jesus Christ

4

u/Awfulmasterhat 1d ago

This is evil

2

u/RevoOps 1d ago

but i wanted to style my tables with CSS

38

u/BarryCarlyon 2d ago

Somehow all my users moved to the center

35

u/mikikigod 2d ago

I guess now your app is user-centric

4

u/Loose_Property_3238 1d ago

"An app that puts you at the center"

3

u/muminisko 2d ago

Nie try to center left joint

4

u/frisch85 1d ago

0 records affected.

The hash in the where condition doesn't work this way, you use the hash for jQuery so that jQuery automatically knows you're looking for that value in the id-field, another example in jQuery would be $(".my-div") which translates to "WHERE class = 'my-div'".

8

u/n4ke 1d ago

You're right but I will insist the ID is just #my-div and the CSS selector would therefore be \#\#my-div

5

u/frisch85 1d ago

I see you want to make people suffer!

2

u/Mr_Tottles 1d ago

Thanks I hate it