csstudent903
csstudent903

Reputation: 127

centering components with css/html/angular

Hi my project is located at

https://stackblitz.com/github/skwallace36/temprepo

I am trying to center the trees/and or the the two tree names at the top...

I am struggling to achieve this due to the crazy structure of the angular components and other wacky css/html which I'm not really too good at...

I don't think it would be helpful to post css/html snippets because I'm honestly not sure where I should try to achieve this, or if something I already have is preventing it...

I have tried all sorts of center, margin, etc solutions in so many different places.. I cannot find a solution

SOS and thank you very much for checking out my stack blitz

Upvotes: 0

Views: 551

Answers (1)

dysfunc
dysfunc

Reputation: 2008

Add this to your style.scss file

.treebuttoncontainer {
  text-align: center;
}

.trees {
  justify-content: center;
}

DEMO

Upvotes: 2

Related Questions