Matthais
Matthais
KPCKevin Powell - Community
Created by Matthais on 7/13/2023 in #front-end
<fieldset> & <legend> effect without incorrect semantics.
2 replies
KPCKevin Powell - Community
Created by Matthais on 1/18/2023 in #front-end
Gap between borders with Grid
4 replies
KPCKevin Powell - Community
Created by Matthais on 1/3/2023 in #front-end
is() selector issue
Was making an example for somebody on another server and found that while:
.cat-container.walking > img.walking,
.cat-container:not(.walking) > img.idle {
.cat-container.walking > img.walking,
.cat-container:not(.walking) > img.idle {
worked, the following use of :is() didn't:
.cat-container:is(.walking > img.walking, :not(.walking) > img.idle){
.cat-container:is(.walking > img.walking, :not(.walking) > img.idle){
I'm confused as to why?
9 replies
KPCKevin Powell - Community
Created by Matthais on 10/27/2022 in #front-end
Changing transform-origin for hover effect (enter left, exit right)
Hi. One thing I've always struggled to understand is how to change transform-origin so that an animation smoothly enters from one side on hover and exits on the other when it loses the hover state. Here's what I have: https://jsfiddle.net/Matthais/epnky1o8/ Pretty sure Kevin did a video where he covered this a couple of years ago but would be a needle in a haystack to find. Would be grateful if anybody can please point out where I'm going wrong
5 replies