For the user profile, I am trying to create a circular image plus a horizontal strip with the same height as the image. In addition, he must respond. It should look like the image below. There will be text in a black strip.

Can someone please help me with the correct CSS?
So far I have the code below, but this is already going wrong, because the black bar is below the circle, and not next to it. But I also donβt know how to make the black bar start exactly in the middle of the image, so that the image is on top and the text in the black bar starts right enough (while reacting to the screen size).
<div class="col-md-12 profile-topbar"> <div class="round"> <img src=<%= image_path('profile.gif') %>> </div> <div class="text-bar"> ... </div> </div>
In my CSS file:
.round { margin: 2em; border-radius: 50%; overflow: hidden; width: 150px; height: 150px; -webkit-border-radius: 50%; -moz-border-radius: 50%; box-shadow: 0 0 8px rgba(0, 0, 0, .8); -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8); -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8); } .round img { display: block; width: 100%; height: 100%; } .text-bar { display: inline-block; background: #FFF; left: 222px;
source share