Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYuyang Peng
5,665 PointsWebsite ::before == $0
Hello beautiful people, So I was checking the source code of the team tree house website, there is one part <nav class = "heaader-vac container " role = " navigation" data-nav> ::before == $0 I am just curious what it means by :: and what ::before == $0 means If anyone could explain that to me that would be awesome
1 Answer
Yuyang Peng
5,665 PointsActually, Stack Overflow explained this https://stackoverflow.com/questions/36999739/what-does-0-double-equals-dollar-zero-mean-in-chrome-developer-tools And for ::before, it should be repeated value declared in CSS. Refer to https://www.w3schools.com/cssref/sel_before.asp