Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #18153
Closed
Open
Issue created Nov 04, 2015 by Administrator@rootContributor

Cards have a transparent background

Created by: DDynamic

When using the latest v4 Alpha 1, cards do not have a white background as expected (like in v3) when placed on a jumbotron or other image.

Cards no Background

HTML Code:

<div class="jumbotron">
    <div class="container-fluid col-xs-12 col-sm-8">
        ...
    </div>
    <div class="col-sm-4">
        <div class="card card-default">
            <div class="card-header">Featured</div>
            <div class="card-block">
                Hey
            </div>
        </div>
    </div>
</div>

Custom Jumbotron CSS (Written in style tags)

.jumbotron {
position: fixed;
background: #000 url("https://static.mywebsite.com/photos/image.jpg") center center;
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
}

Thank you for your time and amazing software!

Assignee
Assign to
Time tracking