1
Good afternoon, I’m having trouble with carousel
bootstrap, angular design 7.
When adding:
*,
*:before,
*:after {
box-sizing: border-box;
padding: 0;
margin: 0;
}
in the style sheet. The carousel
slide works, passes the imgs, but when passing, the scroll bar goes up or down and under the carousel
moves a background along with img . Taking out css
above the style sheet, works normally. I need to use c because the project is already in progress based on the same .
Remainder of the code :
body {
font-family: $fonts;
background-color: #dfdfdf;
position: relative;
color: $font_color;
text-align: center;
margin: 0;
padding: 0;
a,
a:visited {
color: $link_color;
text-decoration: none;
}
a:hover {
color: $link_hover_color;
}
}
.div {
margin: 0;
padding: 0;
}
html
carousel
bootstrap standard
I couldn’t reproduce the problem. Can you create a fiddle with the problem happening?
– Mauro Roberto
If you still continue with the error post the problem in codepen or jsfiddeli so that we can simulate the problem, because only with what was presented in the question this difficult propose another solution
– hugocsl
https://codepen.io/gring0/pen/byNgqG ready obg for attention. only with top bar with 2 imgs one left and one right . Carousel that is breaking.
– Gringo
Face not breaking anything looks here the normal Slider, running on Bootstrap 4, https://jsfiddle.net/taL1pskx/ something else, because the walk of your image has the text "Slide" at the end? It seems wrong to me
src="https://via.placeholder.com/600x300?auto=yes&text=Segundo Slide"
– hugocsl
as already commented with , :before, *:after { box-Sizing: border-box; padding: 0; margin: 0; } does not run. puts <br> a space looks underneath the Carousel and looks at the scroll bar will see that this broken , it moves ... vlw
– Gringo