diff options
author | Prashant S | 2019-08-27 12:32:16 +0530 |
---|---|---|
committer | GitHub | 2019-08-27 12:32:16 +0530 |
commit | 46c8dee1d41462c4a00989b91d555faf6e422632 (patch) | |
tree | a9089f56541854b48ddbda733832a153c6d53927 /static/website/bootstrap-css/bower_components/bootstrap/less/mixins/clearfix.less | |
parent | 23507115caa3d4de0dbf4909376e35df4352d3d9 (diff) | |
parent | b9c709823e26f5b20d3732e1788b871cdd961a03 (diff) | |
download | SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.tar.gz SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.tar.bz2 SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.zip |
Merge pull request #1 from prashantsinalkar/master
updated project code
Diffstat (limited to 'static/website/bootstrap-css/bower_components/bootstrap/less/mixins/clearfix.less')
-rw-r--r-- | static/website/bootstrap-css/bower_components/bootstrap/less/mixins/clearfix.less | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/static/website/bootstrap-css/bower_components/bootstrap/less/mixins/clearfix.less b/static/website/bootstrap-css/bower_components/bootstrap/less/mixins/clearfix.less new file mode 100644 index 0000000..3f7a382 --- /dev/null +++ b/static/website/bootstrap-css/bower_components/bootstrap/less/mixins/clearfix.less @@ -0,0 +1,22 @@ +// Clearfix +// +// For modern browsers +// 1. The space content is one way to avoid an Opera bug when the +// contenteditable attribute is included anywhere else in the document. +// Otherwise it causes space to appear at the top and bottom of elements +// that are clearfixed. +// 2. The use of `table` rather than `block` is only necessary if using +// `:before` to contain the top-margins of child elements. +// +// Source: http://nicolasgallagher.com/micro-clearfix-hack/ + +.clearfix() { + &:before, + &:after { + content: " "; // 1 + display: table; // 2 + } + &:after { + clear: both; + } +} |