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
  • Merge requests
  • !19136

v4: Translucent .form-control borders

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge v4-input-border into v4-dev Feb 09, 2016
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 2

This moves us from a #ccc border to a rgba(0,0,0,.15) border with background-clip: padding-box so that borders blend in with their background colors way better. Here's an example before and after:

screen shot 2016-02-08 at 10 30 05 pm screen shot 2016-02-08 at 10 29 50 pm

Notice how the gray in the first screenshot stands out in a not so great way whereas the second screenshot is super smooth and blended with the translucent border.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: v4-input-border