When I try to use the auto-fit property, Sublime fails to recognize it? A property when written correctly turns blue, however, with auto-fit it remains white & unresponsive. This is the same with the auto-fill property as well. I’ve tried the same code in other text editors and it works fine. Why is that?
Below is my code:
.gallery-container {
display: grid;
grid-template-columns: repeat (auto-fit, minmax(300px, 1fr));
grid-gap: 0px;
grid-column-gap: 0;
grid-row-gap: 0;
padding-bottom: 50px;
margin-bottom: 50px;
}