For an average learner with a reasonable degree of discipline, it should take about seven to eight months to gain a working knowledge of CSS and HTML.