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
  • #8623
Closed
Open
Issue created Jul 26, 2013 by Administrator@rootContributor

.btn:active removes background image

Created by: TheDutchCoder

The active state of the .btn class removes a background image. What's the rationale behind this?

Some people (myself included) use a spritesheet to display background images and/or replace text elements (e.g. a Search button with a magnifying glass icon, instead of "Search").

I have one declaration for my spritesheets (.icon, .sprite {}) and like to keep it that way in order to prevent code bloating.

Would it be possible to leave the background image alone on the active state?

Assignee
Assign to
Time tracking