ChatGPT is my CSS advisor

People who don’t program must not have any idea how much of a boon ChatGPT is to us programmers. #

I am doing CSS coding far in advance of my previous capability. When I know something is possible, but I haven’t the slightest idea how to specify it, I just ask, in my own words. #

For example, a very common thing to want to do is to put a : after the text in the first column every row of a table. #

So I asked ChatGPT how to do it, in English, as I did above. This is what it came up with:#

  • tr td:first-child::after {content: ":";}#

When you see it like that you can almost figure out what’s going on if you squint and close one eye. #

And it works. I literally shrieked when it did. #

Now I am the boss of CSS.. #

Nice.#