Skip to content
GitLab
    • Explore Projects Groups Snippets
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
  • !33321
An error occurred while fetching the assigned milestone of the selected merge_request.

Add Border Style Utilities

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/devhoussam/main into main 4 years ago
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: devhoussam

Compare
  • main (base)

and
  • latest version
    7057f2d8
    1 commit, 2 years ago

2 files
+ 20
- 5

    Preferences

    File browser
    Compare changes
sc‎ss‎
_utilit‎ies.scss‎ +10 -5
site/content/do‎cs/5.0/utilities‎
borde‎rs.md‎ +10 -0
scss/_utilities.scss
+ 10
- 5
  • View file @ 7057f2d8


@@ -122,16 +122,21 @@ $utilities: map-merge(
0: 0,
)
),
"border-color": (
property: border-color,
class: border,
values: map-merge($theme-colors, ("white": $white))
),
"border-width": (
property: border-width,
class: border,
values: $border-widths
),
"border-style": (
property: border-style,
class: border,
values: solid dashed dotted double none
),
"border-color": (
property: border-color,
class: border,
values: map-merge($theme-colors, ("white": $white))
),
// scss-docs-end utils-borders
// Sizing utilities
// scss-docs-start utils-sizing
site/content/docs/5.0/utilities/borders.md
+ 10
- 0
  • View file @ 7057f2d8


@@ -30,6 +30,16 @@ Use border utilities to add or remove an element's borders. Choose from all bord
<span class="border-start-0"></span>
{{< /example >}}
## Border style
{{< example class="bd-example-border-utils" >}}
<span class="border border-solid"></span>
<span class="border border-dashed"></span>
<span class="border border-dotted"></span>
<span class="border border-double"></span>
<span class="border border-none"></span>
{{< /example >}}
## Border color
Change the border color using utilities built on our theme colors.
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: github/fork/devhoussam/main

Menu

Explore Projects Groups Snippets