0
I would like this element to become a slider, but I just want the text and the image like this, I can’t do it
CSS
.carousel-title{
margin-top: 1%;
font-family: 'Source Sans Pro', sans-serif;
font-size: 20px;
color: #f8f8f8;
transition: color .26s ease-in-out;
}
.carousel-text{
margin-top: 2%;
font-family: 'Source Sans Pro', sans-serif;
font-size: 15px;
color: #f8f8f8;
transition: color .26s ease-in-out;
text-align: justify;
}
.product-slide{
background: url(../image/background-page.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
padding: 20px 0px;
}
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - Overlay menu</title>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css'>
<link rel="stylesheet" href="assets/menu.css">
<link rel="stylesheet" type="text/css" href="assets/style.css">
<link href="https://fonts.googleapis.com/css?family=Pacifico|Source+Sans+Pro:200i&display=swap" rel="stylesheet">
</head>
The Bootstrap already has a component ready for you to use, just take the official documentation https://getbootstrap.com/docs/4.0/components/carousel/ I could not understand its right
– hugocsl
Yeah, I know, but I wanted the slide to pass just like I put it in the print, no big pictures, I wanted the slide to show Row, you know? Small image on the side of the text, that’s it.
– Lu Shang
Guy just put a Row/col inside the structure of the Slidar, inside the Slide 1 you put a Row and two col... For what you say your problem is not the slider, but how to put an image on the left side and a testo on the right side, for that you can use the class
pull-left
in the image...– hugocsl
I even managed but another problem appeared https://prnt.sc/rc3tap , it is not like the image of the topic itself
– Lu Shang
I redid the topic explaining better and with the new code
– Lu Shang