|
It's appropriately named!
|
|
|
|
|
For perfect CSS in an ideal world (which seems to be what you want to talk about), I would say you should put every set of styles that occurs separately elswhere in the same project in a separate CSS class, while keeping the overall number of classes as little as possible. It can also be a good idea to draw additional separation lines between CSS classes "by subject" (page layout, object style, colors, fonts, ...) and put them not only into separate classes but into separate CSS files. This is an object-oriented CSS approach. By this, you for instance gain the possibility to have your design person maintain the colors.css for you, which means more control for her/him and less work for you.
But all this means a lot of effort, because as your project progresses, you sometimes have to split one CSS class into two or vice versa and then refactor all usages of these classes. But the more experienced you become with this approach, the less this will happen bc you will learn to think ahead to avoid the pain of refactoring. And that's when your initial effort will pay off, for yourself and for your company as well.
Cascading can be very useful in everyday practice for doing a rather loose specification in a more top-level element and be more precise in a child/descendant element. Or a second use case I can think of from my everday practice is to define a "base" style for a bunch of elements and still be able to "override" them and specify exceptions in particular cases.
|
|
|
|
|
I didn't think cascade was bad until my ~3 year stint as a front end specialist. In that time I learned to use B.E.M[^] and the world was good. Cascade is bad.
Elephant elephant elephant, sunshine sunshine sunshine
|
|
|
|
|
I have a device with a USB-C cable to charge it.
I have no USB-C ports, but I do have a very nice little fast charger (Qualcomm support) with multiple USB 2 / 3 connectors (Type A style).
"Ah!" I thought. "I'll get a simple little USB-A male to USB-C female converter".
FleaBay sells 'em cheap.
They arrived today. All five of them. "Odd." I thought. "I only need one".
"They are a little small." I further thought.
There's a reason for that Griff, you idiot. Those are USB-C Male to USB-B female.
Not one detail is actually correct.
Oh ... c**k.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
If only someone could come up with a "universal" port...
|
|
|
|
|
They have - several times.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
How about a Universal Serial Bus - that'd do it, wouldn't it?
Wait a moment ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Obligatory XKCD[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I wish someone would come up with a universal rf connector for mobile phone/gps etc connections.
The number of connector types is astounding. Drives me nuts.
Same problem, different phy.
|
|
|
|
|
Have similar that myself! the shame
|
|
|
|
|
Yeah - took three days to get here as well.
I've ordered the right bit from Amazon on Prime delivery, so it'll be here tomorrow - but I still feel like a prat.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
USB C, well just run on down to the shops and buy a Mac.
but seriously the department stores that sell PC's and iplods usually sell various adapter cables, seeing as the iplod has USB C they would probably have charging cables ... these days even some $1 shops have them.
Message Signature
(Click to edit ->)
|
|
|
|
|
True, I did see a USB C cable on Saturday in the local $1 'Proper Job' don't ask...
|
|
|
|
|
I have a converter. Swim across to Netherlands and take it.
Or, if you have a power bank, they generally give the converters too. Plug in power bank (USB 2.0?) to computer, connect it to device. Done.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
True, engineering thought process, problem, correct solution, bodge around method...
|
|
|
|
|
glennPattonWork wrote: bodge around method
That's more or less all the code running in production servers around the World. It is product of "We only have (insert ridiculously low time duration here) and you need to deliver this component."
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
lw@zi wrote: Swim across to Netherlands Speaking of which, how do you like it here?
|
|
|
|
|
I like it here. People are good, the city is nice and there are plenty of places for my son to have fun. We don't know anyone around so sometimes it gets boring. Still amazed by your fascination with calendars and plans. Got an invite in July for a barbecue in September.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
lw@zi wrote: the city is nice What city do you live in?
lw@zi wrote: People are good I guess we're not too bad
lw@zi wrote: Got an invite in July for a barbecue in September Yeah, because if you do it in August everyone will be fully booked!
|
|
|
|
|
Living in Den Bosch. There is something happening almost always.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
I come there from time to time, I've got a client there!
I'm there next Tuesday, what time do you get off work?
Maybe we can grab an Ice Tea
|
|
|
|
|
I am generally free by 5. Lets grab an ice tea a beer.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
|
30 Watts? have to be quick! USB-C seem to melt quicker than A's or B's and they were fast!
But you said it not me, If I was in Griff's position I would break out the iron...
|
|
|
|