I’ve been looking at twitter bootstrap and came across some syntax and I do not know what it does:
From buttons.less:
button.btn,
input[type="submit"].btn {
&::-moz-focus-inner {
padding: 0;
border: 0;
}
What is the &:: in &::-moz-focus-inner for?
I know the & is for a ‘parent selector’ and that a : is part of the syntax for a pseudo selector such as :hover, but what is the second : for?
Ps. I’ve also been looking for a LESS syntax reference but I cannot find any documentation about LESS other than the one page at lesscss.org. Is there no documenation for LESS other than that one page?
Copypaste from
http://www.evotech.net/blog/2007/05/after-v-after-what-is-double-colon-notation/