From ec9572877fa360e61bd9dd10fd4c09653949a7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Gomes?= Date: Fri, 3 Mar 2017 12:07:20 +0000 Subject: [PATCH] Add credit for padding trick to source --- css-aspect-ratio.css | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/css-aspect-ratio.css b/css-aspect-ratio.css index c27e06e..beb3ce0 100644 --- a/css-aspect-ratio.css +++ b/css-aspect-ratio.css @@ -11,6 +11,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + Credit to Thierry Koblentz for the padding trick. + http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ */ .aspect-ratio { diff --git a/package.json b/package.json index 0395243..27218df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "css-aspect-ratio", - "version": "1.0.4", + "version": "1.0.5", "description": "Simple implementation of fixed aspect ratio in pure CSS", "style": "css-aspect-ratio.css", "keywords": ["css", "aspect ratio"],