Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #453712
| From | Snit <usenet@gallopinginsanity.com> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: Ooooh! All the trolls on COLA are doomed. |
| Date | 2018-06-03 12:24 -0700 |
| Message-ID | <fnitjiFm0isU10@mid.individual.net> (permalink) |
| References | (9 earlier) <0e71c492-1bb6-4cbc-a4db-cd34d6016940@googlegroups.com> <fnhdngFdq51U5@mid.individual.net> <44bf096d-2fb0-4cf8-86c1-cc9fa7608ca7@googlegroups.com> <fnird9Fm0j7U7@mid.individual.net> <684b59d2-5760-488d-bede-a499bf505403@googlegroups.com> |
On 6/3/18 12:08 PM, Steve Carroll wrote:
> On Sunday, June 3, 2018 at 12:47:09 PM UTC-6, Snit wrote:
>> On 6/3/18 11:28 AM, Steve Carroll wrote:
>>> On Saturday, June 2, 2018 at 11:47:31 PM UTC-6, Snit wrote:
>>>> On 3/19/16 8:56 AM, Steve Carroll wrote:
>>>
>>>>> Saves characters and reduces the rule count.
>>>>
>>>> So?
>>>
>>> So that's a good thing to practice... as it reduces the file size.
>>> If you're teaching people how to build websites for a living you
>>> should probably think about this stuff a little.
>>
>> I am hardly an expert on this, but perhaps you should work to understand
>> the actual pros and cons before you push how it should be done the way
>> YOU like.
>
> I understand them, which is why I made the suggestion.
>
>> <https://csswizardry.com/2016/12/css-shorthand-syntax-considered-an-anti-pattern/>
>> OR <https://goo.gl/g1sXh7>
>> -----
>> Typically we would view shorthand syntax as a benefit: fewer keystrokes,
>> fewer lines of code, less data over the wire. Sounds great! However, it
>> comes with a rather troublesome side effect: it often unsets other
>> properties that we never intended to modify.
>> ...
>> Nearly every problem, bug, or regression in CSS at scale is happens
>> because we did too much too soon, and further down the line we’re being
>> affected by that. What this basically comes down to is the fact that,
>> with CSS, you should only ever do as little as you need to do and
>> nothing more.
>> -----
>>
>> <https://www.hongkiat.com/blog/css-shorthand-longhand-notations/>
>> -----
>> Even though shorthand alternatives are handy, they do have a
>> disadvantage. Remember in the beginning we saw how shorthand overrides
>> any left out properties with their default values? This can be a problem
>> if the reset isn’t desired.
>> -----
>>
>> In the very example you use, you introduce defining margins that were
>> not in the original CSS.
>
> This isn't an issue if you learn *how* to write CSS.
> Notice he said it"can" be problem? It isn't... if you
> write the rule properly.
So you have a poor understanding of the pros and cons. Fair enough. I am
hardly an expert myself.
Curious, though, what you think of this line of code with embedded CSS:
<div style="padding: 3px; align: center;">
I bet not. Time for your snip snip!
LOL! Oh, you are so very, very predictable!
>>>>> And why are you using id instead of class to apply style rules? T's a better practice to save the id for when you want to target with javascript..
>>>>
>>>> IDs are not only for JavaScript!
>>>
>>> True enough.
>>
>> Good to see you admit to your error.
>
> Why wouldn't I admit it? It's not like I'm you ;)
See how you play victim non-stop. You also snipped dishonestly... hiding
your push to NOT suggest he use IDs properly and use them only for
JavaScript.
--
Personal attacks from those who troll show their own insecurity. They
cannot use reason to show the message to be wrong so they try to feel
somehow superior by attacking the messenger.
They cling to their attacks and ignore the message time and time again.
<https://youtu.be/H4NW-Cqh308>
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Ooooh! All the trolls on COLA are doomed. Snit <usenet@gallopinginsanity.com> - 2018-06-02 22:47 -0700
Re: Ooooh! All the trolls on COLA are doomed. Steve Carroll <fretwizzer@gmail.com> - 2018-06-03 11:28 -0700
Re: Ooooh! All the trolls on COLA are doomed. Snit <usenet@gallopinginsanity.com> - 2018-06-03 11:47 -0700
Re: Ooooh! All the trolls on COLA are doomed. Steve Carroll <fretwizzer@gmail.com> - 2018-06-03 12:08 -0700
Re: Ooooh! All the trolls on COLA are doomed. Snit <usenet@gallopinginsanity.com> - 2018-06-03 12:24 -0700
Re: Ooooh! All the trolls on COLA are doomed. Steve Carroll <fretwizzer@gmail.com> - 2018-06-03 15:54 -0700
Re: Ooooh! All the trolls on COLA are doomed. Snit <usenet@gallopinginsanity.com> - 2018-06-03 16:16 -0700
Re: Ooooh! All the trolls on COLA are doomed. Steve Carroll <fretwizzer@gmail.com> - 2018-06-03 18:18 -0700
Re: Ooooh! All the trolls on COLA are doomed. Snit <usenet@gallopinginsanity.com> - 2018-06-03 18:35 -0700
Re: Ooooh! All the trolls on COLA are doomed. Snit <usenet@gallopinginsanity.com> - 2018-06-04 09:57 -0700
Re: Ooooh! All the trolls on COLA are doomed. Steve Carroll <fretwizzer@gmail.com> - 2018-06-04 10:05 -0700
Re: Ooooh! All the trolls on COLA are doomed. Steven Carroll <frelwizzen@gmail.com> - 2018-06-04 13:00 -0700
Re: Ooooh! All the trolls on COLA are doomed. Snit <usenet@gallopinginsanity.com> - 2018-06-04 10:09 -0700
csiph-web