Axim
Axim
KPCKevin Powell - Community
Created by Axim on 7/16/2024 in #front-end
set parent radius same value as child circle radius
Ohh ok thx for the infos, I just tested it again with percentage and apparently it also has a clamp above 50% it doesnt change, is it true?
6 replies
KPCKevin Powell - Community
Created by Axim on 7/16/2024 in #front-end
set parent radius same value as child circle radius
Oohhh Ok I didnt know this, I tried it one time with no element in it and it gives weird ellipse shape. Good to know. When you say its clamped did you mean when there's content(childs) inside the parent the radius has a limit? thats why when we can put up a huge number? clamping is done on the height ?
6 replies
KPCKevin Powell - Community
Created by Axim on 5/23/2024 in #front-end
linear-gradient border
ok I see, cool to know thx for the info
5 replies
KPCKevin Powell - Community
Created by Axim on 5/23/2024 in #front-end
linear-gradient border
ohh ok I'll try it thx, I was trying with 1px borders but I got weird visual glitch where the gradient circle is 'bigger' on some sides of the circle
5 replies
KPCKevin Powell - Community
Created by Axim on 5/13/2024 in #front-end
mousedown event set on parent but keeps getting child element
Ohhhh I see, I completely forgot about currentTarget !! I thought this property was only for some events but apparently its for all events that inherits the Event interface, right? Thx a lot for this I was wasting a lot of time for this
4 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
Ok got it, I’m already good with flex and grid is next on the list
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
Already built some projects so thought it was a good idea to see what’s happening inside
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
Ok I see thx again for the little push, that’s true I’m giving too much attention to this
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
Ok got it, what confused me was this from the spec:
Not all block container boxes are block-level boxes: non-replaced inline blocks and non-replaced table cells are block containers but are not block-level.
Not all block container boxes are block-level boxes: non-replaced inline blocks and non-replaced table cells are block containers but are not block-level.
And so I assumed that all inline can be block containers
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
ohhh like regular one cant and only few specific like inline-block,etcc... I thought it was all of them
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
Ok I see but inline elements can be block containers,right so this means it theres only inline elements in it it can be containing block or am I missing something?
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
ok let me test
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
yeah agreed but shouldnt em be the containing block in the first place instead of the p2 for the strong element?
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
Here's the link to the spec : https://www.w3.org/TR/2016/WD-CSS22-20160412/visudet.html at the very start until the example
30 replies
KPCKevin Powell - Community
Created by Axim on 10/26/2023 in #front-end
(Css Spec) Clarification on containing block definition
No, em here have inline elements in it which are all inline and by definition it should have been the containing block of the strong element but in the spec it doesnt say that, they consider the paragraph #p2 to be it's containing block.
30 replies