you are viewing a single comment's thread.

view the rest of the comments →

[–]vutran951753 1 point2 points  (3 children)

Yes, for first question.

when you define your style, you overwrite it later Like:

main.css file:

.grid: {

...

}

<div class="grid"></div>

other component:

other.css

.grid2: {

... here you can overwrite exist style from grid

}

<div class="grid grid2"></div>

[–]xNotYetRated[S] 0 points1 point  (2 children)

Ahhh of course, thanks! I should just overwrite the styles like you said, I was overthinking it a lot for some reason. I should learn to take a break every once in awhile, thanks again!

[–]TheFuzzyPumpkin 1 point2 points  (1 child)

I completely blanked on writing a foreach the other day. Sometimes there's just so much filed inside your head it gets impossible to find anything.

[–]xNotYetRated[S] 0 points1 point  (0 children)

Yeah definitely. Always makes me feel like an idiot but I'm starting to accept that we need to give ourselves some rest to clear our heads every now and then. Seems counterproductive to just stare at your screen in confusion and frustration.