Inspired by BEM and CUBE CSS, I'd like to share my own approach: GLOO (Globals, Layouts, Objects, Overrides). https://t.co/poL5G5q3uJ #CSS#webdevelopment#FrontEnd
Instead of applying multiple classes to your #HTML elements, you can use custom attributes, like data-theme="dark", and target that in your #CSS. It's a useful way to ensure single-value state. https://t.co/JgiKghszZ1
@natmiletic My development journey started with a friend showing me how to create text adventure games in QBASIC. Don't think I came across the idea of "Hello world" until much later though.
@phillsacre Safari does appear to have lagged behind the crowd, yes. All other mobile browsers look like they've supported it for ages though. Or was that not your experience?
Think I'm falling in love with WEBP. Just compressed a 570 KB PNG image down to around 60 KB with hardly any visible loss in quality. #mindblown#webdevelopment
Just launched our new https://t.co/wknJujFe1i website. And if you take a peek at the HTML source, you'll get a hint or two to find some Easter Eggs I slipped in... #webdevelopment
I know BEM is a popular CSS naming convention. But does anyone prefix their class names with their project name as well? I'm thinking to prevent any contamination from 3rd party CSS. So for example: .project__block__element--modifier #webdevelopment#css
@css Interesting idea. Personally I'm more a fan of letting HTML do structure and CSS do layout, but I guess this might be useful where you don't know in advance what layout you need, e.g. when handling user created content.
Need to get rid of those pesky orphaned words at the end of sentences? I've made a library for that. https://t.co/c3x5PcNpvC #javascript#webdevelopment#html
@derickr I like the idea of supporting developers via donations, but I'd find it hard to justify paying for something that I might hardly use. I need it most in emergencies (i.e. when something has broken), but if I had to pay for it 'just in case', I probably wouldn't bother.
I'm checking my project code using PHP Code Sniffer, @stylelint and @standardjs. But I'm really surprised there's no Blade template formatter for command line use. Has no one made this yet?? Or is it harder than it sounds? #laravel#webdev#linter
When making a website for a client, do you put your (or your company's) name on it? Is it free advertising, or does it make the site look cheap? #webdevelopment#agency
Absolutely loving phpstan at the moment, and specifically the larastan wrapper for #laravel. It's making my code soooo much better! https://t.co/T9quXlD1D8 #webdev
For web development on Windows 10, would the best 2019 solution be Vagrant? Docker? WSL? I'm currently using Homestead, just wondered if there's a better way. #webdev#php