Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
491503e4
Commit
491503e4
authored
Dec 23, 2014
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audit helpers docs: fix mixins formatting for scss conversion
parent
dfb6a679
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
docs/components/helpers.md
docs/components/helpers.md
+5
-5
No files found.
docs/components/helpers.md
View file @
491503e4
...
@@ -103,7 +103,7 @@ Set an element to `display: block;` and center via `margin`. Available as a mixi
...
@@ -103,7 +103,7 @@ Set an element to `display: block;` and center via `margin`. Available as a mixi
// Usage as mixins
// Usage as mixins
.element {
.element {
.center-block()
;
@include center-block
;
}
}
{% endhighlight %}
{% endhighlight %}
...
@@ -128,7 +128,7 @@ Easily clear `float`s by adding `.clearfix` **to the parent element**. Utilizes
...
@@ -128,7 +128,7 @@ Easily clear `float`s by adding `.clearfix` **to the parent element**. Utilizes
// Usage as a Mixin
// Usage as a Mixin
.element {
.element {
.clearfix()
;
@include clearfix
;
}
}
{% endhighlight %}
{% endhighlight %}
...
@@ -161,8 +161,8 @@ Hide an element to all devices **except screen readers** with `.sr-only`. Combin
...
@@ -161,8 +161,8 @@ Hide an element to all devices **except screen readers** with `.sr-only`. Combin
{% highlight scss %}
{% highlight scss %}
// Usage as a Mixin
// Usage as a Mixin
.skip-navigation {
.skip-navigation {
.sr-only()
;
@include sr-only
;
.sr-only-focusable()
;
@include sr-only-focusable
;
}
}
{% endhighlight %}
{% endhighlight %}
...
@@ -177,6 +177,6 @@ Utilize the `.text-hide` class or mixin to help replace an element's text conten
...
@@ -177,6 +177,6 @@ Utilize the `.text-hide` class or mixin to help replace an element's text conten
{% highlight scss %}
{% highlight scss %}
// Usage as a Mixin
// Usage as a Mixin
.heading {
.heading {
.text-hide()
;
@include text-hide
;
}
}
{% endhighlight %}
{% endhighlight %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment