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
  • #10620
Closed
Open
Issue created Sep 13, 2013 by Administrator@rootContributor

bootstrap-theme.css: Button corners look funny in IE9 due to gradient filter

Created by: arechsteiner

Code snippet:

<link href="css/bootstrap.css" rel="stylesheet" media="screen">
<link href="css/bootstrap-theme.css" rel="stylesheet" media="screen">
...
<button type="submit" class="btn btn-success">Submit</button>

Result in IE9 (magnified):

2013-09-13 17_57_10-bootstrap 101 template

I'm not entirely sure what causes this bug. But I think it has something to do with the IE gradient filter called by the mixin .btn-styles(@btn-color: #555;) in theme.less, which then calls the vertical gradient mixin, with this attribute:

filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down

When I comment this filter, then the button has rounded corners (but lacks gradient obviously). But then again, I think the same filter was used in Bootstrap 2.3 and there it works fine.

Assignee
Assign to
Time tracking