Add following lines to your css
.ladda-button[disabled] .ladda-button[disabled]:hover {
background-color: rgba(0, 0, 255, 0) !important
}
here, give background color which you want. I have given transperent.
I was about to ask why they didn't just use the transparent keyword, but then I realized it's probably because they don't know how to spell it
FYI, it's spelled "transparent", in case you used rgba() simply because you didn't know how to spell it correctly (which is fair, it's not the easiest word to spell). Still there really is no reason to use !important. — BoltClock ♦16 secs ago
That's what I was trying to think is if he would be using some transition or something along those lines
I could see if I needed it to go from blue to transparent gradually as the scrollTop goes from 0 to 100 or something, but obviously then I would just take the element itself and make the opacity go from 0 to 1, and I highly doubt he was doing anything along those lines.
I have a text. Within that text there are spans. For example: "Lorem Ipsum <span> Cumulus </span> Inuertia". That span belongs to a class and has a specific height and width. That span appears too far up in the text. How do I move it down a bit? Top-margin does affect the whole line, not just the span. Any ideas?
Here is an example: The span (the block) should move down a bit.
> The keypress event is fired when a key that produces a character value is pressed down. Examples of keys that produce a character value are alphabetic, numeric, and punctuation keys.
but in firefox, keypress also detects the arrow keys so... TIL
@TylerH Well I'm not happy with the fact that prism.js requires a declaration block for a selector to highlight as a selector. I know that lone selectors are syntax errors in the context of a stylesheet, but still...
Even with context, I still don't understand the premise
If the CSS and JS are targeting the same element by nature, then having them target separate attributes is just unnecessary duplication
If they have separate concerns, and just happen to target the same elements by coincidence, then yeah whatever the elements just happen to have the same two attributes
Unless that's what they mean, in which case yeah fine
The part about using a data attribute over a class name still confuses me
Do these people not know an element can have more than one class?
@chiptus @jewlofthelotus The main problem is that you use classes to style elements and your HTML element may change classes (design desitions). If you have JS code bound to that, you will break your code. So use data-attributes and keep classes just for styling
"CSS class" is a misnomer; class is an attribute (or a property, in terms of scripting) that you assign to HTML elements. In other words, you declare classes in HTML, not CSS, so in your case the "target" class does in fact exist on those specific elements, and your markup is perfectly valid as i...
Maybe I should write an article called "How I stopped worrying and learned to use the class attribute for everything" or something
But that would be equally hyperbolic, because data-attributes do have their place
Dr. Strangelove or: How I Learned to Stop Worrying and Love the Bomb, more commonly known as Dr. Strangelove, is a 1964 political satire black comedy film that satirizes the Cold War fears of a nuclear conflict between the Soviet Union and the United States. The film was directed, produced, and co-written by Stanley Kubrick, stars Peter Sellers and George C. Scott, and features Sterling Hayden, Keenan Wynn, and Slim Pickens. Production took place in the United Kingdom. The film is loosely based on Peter George's thriller novel Red Alert (1958).
The story concerns an unhinged United States Air Force...
"Learned to Stop Worrying"? :/
I guess it does make sense kinda
I have to learn to stop worrying because I don't quite know how to
Now I wish I'd discovered this earlier so I could have posted that instead of this whitespace in selectors thing that most people probably wouldn't care about
err the selectors thing not the /r/gaming thing
I could just unpublish it, and start writing, and tweet it out tomorrow or something (it's 2am Friday rn)
It's not like many people see my tweets anyway
Worth the gamble @TylerH? (if I could call it that - what am I gambling for again?)
Ah yes, the idea of unpublishing something I put out on Thursday in favor of something potentially far more interesting at a time when it's no longer Thursday in some parts of the world (namely, mine)
Because I was hoping to put something out once every Thursday this month at the very least
Besides, I wrote this in a hurry and I really don't like the way it's turned out
@TylerH found an opportunity to turn just a little bit more Australian
Unrelated to what I tweeted earlier this arvo, but: Be careful with whitespace in CSS selectors https://blog.novalistic.com/archives/2018/01/whitespace-in-css-selectors #CSS
@TylerH I have a feeling this article is gonna take longer than a day. Might spill over to the weekend. Not sure how weekends vs weekdays play into reach, if at all