Answer the question
In order to leave comments, you need to log in
How to make a full name to the right of the photo?
Now the name is under the photo, but how to move it to the right of the photo?
There will be a col-lg-4 grid, for 3 photos with full name on the right.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<style>
img {
max-height: 380px;
max-width: 100%;
display: inline-block;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="row">
<div class="col-lg-4">
<div class="photo">
<img src="img/example.jpg">
</div>
<div class="user_info">ФИО</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question