« first day (2863 days earlier)      last day (925 days later) » 

1:41 AM
 
 
9 hours later…
10:42 AM
quick question. If an element inherits rules from its parent, would it also inherit rules from its grandparents?
 
 
5 hours later…
3:18 PM
@Ooker it depends on the property rather than the element
flex items for example only go one generation deep
but width can be inherited all the way up to the viewport
 
@TylerH hows it going
 
alright, thanks. busy work week
 
Same
Makes it go by super quick I love it
 
 
3 hours later…
6:09 PM
Hi, a css-ninja online?
Could someone tell why instead of one icon i have two? ( vectorpublish.net/de.e_nexus.web.rm.war-1.0.0-SNAPSHOT )
 
6:29 PM
Thank you @bigchungus. I'll check out that link.
 
 
2 hours later…
user14612876
8:45 PM
Could anyone here help me with some code regarding HTML buttons?
 
Don't ask to ask, just ask, and ask once
 
user14612876
Ok, sorry. If you could help me though, I created a post with more information.
 
I reat the post. You wrote HTML, did you ever wrote CSS?
 
Can you link your snippet
 
@bigchungus Who do you mean?
 
8:55 PM
html snippet
asking @Bubbly
 
@bigchungus His last post was 15 min ago: stackoverflow.com/questions/66446709/png-image-as-button
 
Oh
I was today years old when I learned about cross browser functionality

i.e.
<!-- [if lt IE 9]>

<![endif]-->
Including comments that can contain script
 
2 yo? sure buddy
 
today years old
meaning I just found out today?
 
ah ok
 
9:01 PM
Passive aggressive for what facepalm
 
tought you was kidding
 
@bigchungus it's job security as well
 
anyone a clue regarding my icons?
 
can you share an MCVE of the issue
a site like jsfiddle or codepen would do
 
9:16 PM
Since the problem is live it is a mcve I guess.
 
a live website is not an mcve
specifically, the process of creating an MCVE will allow a person to solve their own problem the vast majority of the time
 
I have tried it about an hour but was not able to produce a MCVE. All I have is a MWE.
 
@TylerH what is?
 
@bigchungus having lots of work
 
@TylerH oh you are replying to this
The reply indicator is so light I could barely see it by your message
 
9:27 PM
in css what's to prefer of .status-button .description or .status-button-description?
 
I would say .status-button .description
 
.status-button-description
 
hehe
 
@bigchungus ok, why?
 
I would also have thought .s-b .d because let's say for example the fonts might be the same in all .desc, but there might be other settings that might differ.
 
(if there for example is a .toolbar-button .description as well
 
.status-button .description is more cascading. If you have multiple elements that take use of the .description, for example the font, weight or the color, you can group other elements without having to execute all styles from status-button. You will be able to use the user's recognition factor for similar looking appearences.
 
@Markus depends on what the class means
 
mm, that's true... in this case it's a kind of a button, and that button might contain an icon, and a description.
 
the kind of button it is is "status"?
what does that mean? You click the button, and what happens? Something happens to tell you the status of something?
I would probably do <button class="btn-desc btn-icon"> for a button that has all three assuming you have other types of elements that could have a description or icon
 
9:42 PM
well... there is also a value, and when the button is clicked the value and description changes.
ok, sorry, no it's like this: `<div class="status-button><div class="icon"/><div class="description"/><div class="value"/></div>
 
The css of "status-button" make the div appear like an button?
 
kind of... it gets a border etc
 
Hm, btw... if you change the div to a button you have some advantages: text-to-voice can read the button for deaf people, you can hotkey the button and you can tab throu the formular using the tab-key (and space-key will do a click like classic windows formulars do).
 
so in my css I had written .status-button .description in my css, and then a team member changed it to just .description (because hey we don't need the whole tree, and maybe the name description should be more descriptive and exact for that class.
thanks I'll keep that in mind.
 
but you are not sure to agree?
 
9:50 PM
yes because that would result in: <div class="status-button><div class="status-button-icon"/><div class="status-button-description"/><div class="status-button-value"/></div>
and I won't be able to reuse any of the stuff in a description (for example) with any other (e.g toolbar) description
 
@Markus a div as a button, eh
you like to live dangerously
can you answer this question:
what does that mean? You click the button, and what happens? Something happens to tell you the status of something?
 
The team-member changed the query to .description and expect to target a .status-button-description?
 
@Markus generally, this is a good idea. You want your selectors to be as non-specific as possible.
The problem is if you use the description class elsewhere for things that you don't want to change
 
@Grim na, he just changed to .description, and we don't have any other description yet.. but wanted to make it more specific.
 
one common way to solve that problem is to make your classes specific enough to the kind of element they will be applied to (this is referred to as "semantic") so that you in theory only ever need to use one or two classes for every single selector
 
9:55 PM
@Markus So the team-member did also change the html from <div class="status-button-description"/> to <div class="description"/> ?
 
it already was just description
but if we were to add another button (like a toolbar) then we would have to have the name specific enough so that they wouldn't be confused, hence the very long name status-button-description
we never actually got to that name yet, I just think that's what the future looks like if we should have such specific names
 
ah ok, I understand pros and cons.
Unfortunately I support the team-member because if we have a simple change from the design-specialists like "Make all descriptions bigger" you have - in a perfect world - only one statement to write (the .description). Using extrem-specific queries you have to write many styles for every single kind of description (status-button-description, button-description, field-description, label-description, input-description, warn-description etc.).
 
No no :) it's the team member that is on the specific line. I'm agree with what you say.
 
Ah so fortunately.
 

« first day (2863 days earlier)      last day (925 days later) »