Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
dbd749c2
Commit
dbd749c2
authored
Aug 19, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9828 from cmdoptesc/3.0.0-wip
Add background-color to carousel.
parents
4fd861a7
eb43c268
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
examples/carousel/carousel.css
examples/carousel/carousel.css
+8
-1
No files found.
examples/carousel/carousel.css
View file @
dbd749c2
...
@@ -18,6 +18,12 @@ body {
...
@@ -18,6 +18,12 @@ body {
z-index
:
15
;
z-index
:
15
;
}
}
/* Vertically aligns left and right chevrons. */
.carousel-control
>
.glyphicon-chevron-left
,
.carousel-control
>
.glyphicon-chevron-right
{
position
:
absolute
;
display
:
inline-block
;
top
:
50%
;
}
/* CUSTOMIZE THE CAROUSEL
/* CUSTOMIZE THE CAROUSEL
...
@@ -38,6 +44,7 @@ body {
...
@@ -38,6 +44,7 @@ body {
/* Declare heights because of positioning of img element */
/* Declare heights because of positioning of img element */
.carousel
.item
{
.carousel
.item
{
height
:
500px
;
height
:
500px
;
background-color
:
#777
;
}
}
.carousel-inner
>
.item
>
img
{
.carousel-inner
>
.item
>
img
{
position
:
absolute
;
position
:
absolute
;
...
@@ -93,7 +100,7 @@ body {
...
@@ -93,7 +100,7 @@ body {
@media
(
min-width
:
768px
)
{
@media
(
min-width
:
768px
)
{
/* Remve the edge padding needed for mobile */
/* Rem
o
ve the edge padding needed for mobile */
.marketing
{
.marketing
{
padding-left
:
0
;
padding-left
:
0
;
padding-right
:
0
;
padding-right
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment