I try to understand if there a better way to structure the following sentence:
Note that if
min-width
is greater thanwidth
ormax-width
, it overrides them, both.// results to 300 px width: 100px; max-width: 200px; min-width: 300px; // results to 200 px width: 100px; max-width: 300px; min-width: 200px; // results to 200 px width: 100px; min-width: 200px; // results to 200 px max-width: 100px; min-width: 200px;
I don't like this non-restrictive "both" in the end of sentence, it sounds cumbersome.
On the other hand, I cannot simply remove the comma before it, because removing that comma will make the meaning less clear: it won't be clear whether I want to stress overriding both properties or overriding at all.
Does the first sentence sounds good for native speakers? How can I make it really neat and concise?
Maybe this is required to add the word either, and then removing the comma won't make the meaning unclear?
Note that if
min-width
is greater than eitherwidth
ormax-width
, it overrides them both.