Hello,
I centered and resized the image via Bootstrap 5, using class “container” for the “main” tag and class “text-align” for the “figure” tag. This worked locally on my computer but generated an error inside the test environment at codepen. So I had to add extra to my CSS stylesheet:
#image {
display: block;
margin-left: auto;
margin-right: auto;
}
My question: Did I something wrong in Bootstrap? Or did I maybe use a code snippet from the relatively new Bootstrap 5 that the test environment did not foresee? (My tribute page)
Thanks, Peter