I’m starting the first challenge, I have to make a tribute page and it’s already complicated for me ^^.
I’m using bootstrap 4 and have a problem centering my picturew. I’ve tried with center-block but it seems it’s not available anymore for bootsrap 4. I can do it with margin but may be is there a way more simple to do it? I tried to find the solution on other topics but nothing works.
<link href="https://fonts.googleapis.com/css?family=Righteous" rel="stylesheet"> <body> <div class="container-fluid"> <h1 class="text-primary text-center">Chester Bennington's tribute</h1> <img class="center-block" src="http://images.complex.com/complex/images/c_limit,w_680/fl_lossy,pg_1,q_auto/aut0vbxi3hdp1kqsnowg/chester-bennington"> <button class="btn btn-block">Like</button> </div>
Thanks for your help