]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update docs on removing `display-none` 9738/head
authorharry <harmanmanchanda182@gmail.com>
Mon, 22 May 2017 17:32:18 +0000 (23:02 +0530)
committerharry <harmanmanchanda182@gmail.com>
Mon, 22 May 2017 17:32:18 +0000 (23:02 +0530)
docs/pages/prototyping.md

index eb9f7a90ed4f86431e317c8be9c5bd5d42aafd2d..a09bf25edc53f84b73136fe57cd12603f20dca3f 100644 (file)
@@ -603,7 +603,6 @@ Border none lets you quickly resets border to `none` into any component.
 Display classes helps to display the elements in specific positions inside any other HTML elements.
 
 ```html
-<div class="display-none"></div>
 <div class="display-inline"></div>
 <div class="display-inline-block"></div>
 <div class="display-block"></div>
@@ -612,6 +611,10 @@ Display classes helps to display the elements in specific positions inside any o
 
 By default, we have just added the most used display classes. but as you would know, there are many other display classes as specified by MDN [here](https://developer.mozilla.org/en-US/docs/Web/CSS/display). If you need some of those classes, then you can add them easily through Sass variables with `$prototype-display`. Sass Reference [here](#sass-reference)
 
+<div class="primary callout">
+  <p>For `display: flex` and `display: none`, use generic `.flex-container` and `.hide` respectively!</p>
+</div>
+
 ---
 
 ## Positioning