---
+## Border box
+
+Border box lets you only add the content, padding and border, but not the margin within the width and height css properties.
+
+```html
+<div class="border-box"></div>
+```
+
+---
+
## Display Classes
Display classes helps to display the elements in specific positions inside any other HTML elements.
---
-## Text Transformation
+## Text Helpers
+
+### Text Transformation
Text transformation lets you control the capitalization of text. You can change the text transformation by adding `.text-uppercase`, `text-lowercase`, `text-capitalize` to an element.
---
-## Text Decoration
+### Text Decoration
Text Decoration can be used to underline, overline, or line-through a text. You can change the text decoration by adding `.text-underline`, `text-overline`, `text-line-through` to an element.
---
-## Text Truncate
+### Text Truncate
The `text-truncate` displays an elipsis when the text must be in a single straight line that should overflows a box where overflow is hidden. See how in example the content did not crossed the first line!
---
-## Text Wrapping
-
-#### Text No-wrap
+### Text No-wrap
If you would like to prevent the text wrapping into the next line you can utilize `text-nowrap`. Please note that the text will continue to be in same line unless the `<br/>` tag is used.
<p class="text-nowrap">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam voluptatem similique officiis recusandae esse cum in totam quisquam perspiciatis quod! Magnam culpa vitae, tempore eos explicabo cupiditate. Deserunt, quisquam, quos!</p>
```
-#### Text Wrap
+### Text Wrap
Oppositely, if you are looking for text wrapping into the next line, you can use `text-wrap`.
--- /dev/null
+// Foundation for Sites by ZURB
+// foundation.zurb.com
+// Licensed under MIT Open Source
+
+////
+/// @group prototype-bordered
+////
+
+/// Responsive breakpoints for border box.
+/// @type Boolean
+$prototype-border-box-breakpoints: $global-prototype-breakpoints !default;
+
+/// Border box utility
+@mixin border-box {
+ box-sizing: border-box !important;
+}
+
+@mixin foundation-prototype-border-box {
+ .border-box {
+ @include border-box;
+ }
+
+ @if ($prototype-border-box-breakpoints) {
+ // Loop through Responsive Breakpoints
+ @each $size in $breakpoint-classes {
+ @include breakpoint($size) {
+ @if $size != $-zf-zero-breakpoint {
+ .#{$size}-border-box {
+ @include border-box;
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
// Position Helpers
@import 'position';
+// Border box
+@import 'border-box';
+
// Sizing Utilities
@import 'sizing';
@include foundation-prototype-overflow;
@include foundation-prototype-display;
@include foundation-prototype-position;
+ @include foundation-prototype-border-box;
@include foundation-prototype-sizing;
@include foundation-prototype-spacing;
}