« first day (940 days earlier)      last day (2848 days later) » 

crl
8:00 PM
z-index kinda inherit parent's index if I understand
 
yes, it kind of maxes out at its parent
 
crl
thanks too
the thing that remains unexlained for me is opacity
#innerelement{
    /* z-index:1; */
    /* opacity:.7; */  commenting it there make the ^ fiddle suddenly work
    background: green;
}
 
opacity is the same
 
crl
ah ok
 
if a parent has opacity:.5 the most a child can be is .5
 
crl
8:06 PM
ah! gotcha
hmm not sure to get it actually, sorry, jsfiddle.net/crl/tfezz6ra/23 what happen between #innerelement{ opacity:.9; } and #innerelement{ opacity:1; } why the latter is hoverable while the first isn't? it works in layers like z-index you say, wait checking mdn :)
 
right click the element and click inspect. Which element does it select?
 
crl
outer
 
exactly
so that means that the child is being rendered on top of the parent
which means when you hover the child, the parent hover will also fire
is that your question?
 
crl
below the parent you mean?
more or less, I mean what opacity technically has to do with that?
it should be just visual, ofc inheriting parent, but visual, not affect layers
 
opacity creates its own stacking context
 
crl
8:16 PM
ok..
 
!!google CSS properties that create stacking context
 
Everybody use s n f word and when I'm talking u kick me out @ZachSaucier what type of chat room is this?
 
crl
yeah reading mdn :)
 
@Farhad do you have a question or are you just upset?
 
8:17 PM
I'm upset
 
Lol
Nah I'm good, but don't kick me out when I'm trying to make a point
 
:/ so irrational
 
@MethodMan how is ur problem? U solve it?
 
@FarhadNežad No, no. I have something incurable. Its called life D:
 
8:22 PM
Life is curable too bro
The meaning/purpose is not
 
@cimmanon wat
 
8:40 PM
 
@FarhadNežad most people in here are regulars and we've known each other for years
 
crl
I'm goofie
 
@MethodMan hah
 
@Kitler If I'm disrespecting please let me know.
 
was just explaining why some people say fuck a lot and they don't get kicked :P
 
crl
8:46 PM
imagine I have a :
<div> <div>1x1</div><div>2x1</div><div>3x1</div> </div>
<div> <div>1x2</div><div>2x2</div><div>3x2</div> </div>
<div> <div>1x3</div><div>2x3</div><div>3x3</div> </div>
etc.. could be a table too, is there a pure CSS way to say: color me the div when their rows<=i and cols<=j, for a given i and j (as a class)
 
Oh okay, but I will move on, but it bother me when ya'll kick me out.
 
crl
!!kick Far :p
 
Cheers guys. Bed Time D:
 
@crl That didn't make much sense. Use the !!/help command to learn more.
 
Damn, @CapricaSix is slow tonight...
 
8:47 PM
If we're being honest, you came off as a douche when you first came in here :P
@MethodMan night night
 
alright understand, sorry ya'll :)
Anyone need my help please ping me :)
 
@FarhadNežad didnt you say you were going to a party? D:
 
0
A: How does z-index really work?

Zach SaucierBefore I start explaining, let me note that z-index only has an affect if the element has rendered value of position:relative, position:absolute, or position:fixed (NOT static) because each of these make it have its own stacking context. That means that values like initial or inherit may or may n...

 
Shit I need to sleep... D; peace
 
lol, I'm waiting for my driver, but I love SO so much, I can't get off lol, always trying to answer people problems since 2 months ago @MethodMan
I dedicate this song to all my HTML, CSS, Javascript People youtube.com/watch?v=LMQGgKLaEUk ... Have a good ASS Thanksgiving.
 
crl
8:53 PM
nice answer
 
@ZachSaucier Thanks
 
crl
DOM is like lists anyway, a tree
 
crl
but an ordered tree (between siblings), like you said
 
Good evening fellow code junkies
 
8:57 PM
what up meth junkie
 
its all ogre now
 
crl
would say 2.1, 2.0, 1.3, 1.2. 1.1, 1.0. -> 2, 2.0, 1.3, 1.2. 1.1, 1 rather, clearer
 
I think the way I have it currently is alright
it makes more sense to me than yours does, I guess it comes down to opinion :P
 
crl
ah ok, np, oops meant 2.1, 2, .. ^ ofc
 
I have the .0 for the sake of the first couple examples where in a paragraph it would be more confusing to drop them
I got two upvotes on an old post with only 89 views today... weird
 
crl
9:05 PM
yeah np, (just in my mind I see better the node with its depth (number of dots)
 
now back to what I should be doing....
hah
 
you shall not pass
 
Damn I picked the wrong room
Oh well. Ohai room o/
 
@PeeHaa :(
 
@ZachSaucier Noooo don't get me wrong. This room is great. Just not the one I wanted to click :-)
 
crl
9:09 PM
I wish you could access DOM children with that list way :) $1.2.1
 
@crl Are you a pedophile?
 
you can, just replace . with ` `
 
crl
I like DOM children yes
$0 works though (last selected element in inspector)
 
@crl :D
 
9:26 PM
children of the DOM, rise!
 
9:44 PM
 

« first day (940 days earlier)      last day (2848 days later) »