-1
I understand you want to align the iframe, in the middle of your page.
That way, you should not apply the property display in the iframe, but, yes, in the parent element.
In this sense, the same thing occurs with the property Justify: it should be applied in the parent element of . Organization.
Given that, you could do something like this code:
body {
background: cyan;
}
.pai {
width: 100%;
display: flex;
justify-content: center;
}
.linkedin {
width: 50%;
height: 50%;
}
<div class="pai">
<img class="linkedin" src="https://i.imgur.com/RxZ5rIx.png" alt="flex child">
</div>
Ps: Note that I used an image to replace your iframe, as well as the class . Linkedin was replaced by . Organization.
You want to center?
– Sam
Your question is very vague, which you need exactly?
– hugocsl