@charset "ISO-8859-1";

body {
	--section : "x";
	counter-set: section1 0;
}

h2::before {
  	counter-increment: section1;
  	content: var(--section) "." counter(section1) ". ";
}

h2 {
	counter-set: section2 0;
}

h3::before {
	counter-increment: section2;
	content: var(--section) "." counter(section1) "." counter(section2) ". ";
}