🤘👐👋
Jay Bardeleben
Posts
-
Put your hands up if you are pissed with hearing about AI -
Happy birthday, CP!Love you guys!!! You're newsletter commentary is the best on the internet!! 🤘⚡️🌪
-
Is There Any Reason To Keep Old Software?Oh my goodness, hahaha, when I started college doing graphic design, if someone had a 1GB zip, they were considered rich... 🤣🤣🤣
-
Back to the office after 2+ years of working from fromI don't have an office to return to 🥺
-
Daily NewsThe Daily News emails have been my comedy go-to lately. Not gonna lie. Best laughs of the day!
-
What are your CSS practices?It's appropriately named!
-
What are your CSS practices?Quote:
And for the CSS coding guidelines, I put everything on one line; I don't make it look like a programming function because CSS is not a programming language.
Ha, I do and I don't. Generally depends on the project I'm working on and the mood I'm in where CSS is concerned as to whether they get the "one-liner" treatment or not. But in most cases if I'm defining something that has only 1 - 3 attributes, say for basic
's, then they get put on one line. But if I need something more complex, such as adding gradients or something that needs a lot of attributes, I don't put them on one line (the minifier can deal with that one) because it's simply easier on my eyes to see what I'm doing (classic example - styling stupid form elements... :wtf: )
p { ... }
form { ... }
...
input[type="blah"] {
blah;
blah;
blaaaaaaah;
}
...CSS can be a massive pain for sure, no one can ever deny that one (!!) and get way out of control all to easily, so I stick with a "standard" (more of a personal convention in reality) I've molded for myself over the years that works quite well for me and other's can easily grasp. Urg... haha. Lately though I've been leaving it all to Bulma or Bootstrap and run the other way so I can do the actual work I need to do and deal with it after, not gonna lie