I was always wondering what the difference between these 2 selectors is:
#someID img and
#someID & gt; IMG Both are affecting the # img tag located inside # someID . What is the difference between any thoughts?
& gt; indicates the victim of immediate nest img is an instant child's code #someID . The first selector will affect all images anywhere within # someID . Second only will affect children immediately.
No comments:
Post a Comment