From fe43f3b12583e56949dce215f8f7f98bc672a788 Mon Sep 17 00:00:00 2001 From: Yuliyan Slavchev Date: Wed, 7 Mar 2018 21:30:21 +0200 Subject: [PATCH] Remove the display property from 'Constant width and height ration' snippet --- snippets/constant-width-to-height-ratio.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/snippets/constant-width-to-height-ratio.md b/snippets/constant-width-to-height-ratio.md index 9f0310406..58f52f68a 100644 --- a/snippets/constant-width-to-height-ratio.md +++ b/snippets/constant-width-to-height-ratio.md @@ -18,7 +18,6 @@ Given an element of variable width, it will ensure its height remains proportion } .constant-width-to-height-ratio::before { content: ''; - display: block; padding-top: 100%; float: left; } @@ -44,7 +43,6 @@ Resize your browser window to see the proportion of the element remain the same. } .snippet-demo__constant-width-to-height-ratio::before { content: ''; - display: block; padding-top: 100%; float: left; }