From 87fbfbc3edcbb2a2622f127abd5a7b96b62df8c3 Mon Sep 17 00:00:00 2001 From: TariqAijaz Date: Mon, 17 Dec 2018 08:34:06 +0500 Subject: [PATCH] Added details to this article (#27842) More info about CSS images. --- guide/english/css/css-images/index.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/guide/english/css/css-images/index.md b/guide/english/css/css-images/index.md index 664b72b008..25a0d83d24 100644 --- a/guide/english/css/css-images/index.md +++ b/guide/english/css/css-images/index.md @@ -2,7 +2,7 @@ title: CSS Images --- ## CSS Images -This helps in adding an image to a website. +This helps in adding an image to a website. CSS can handle images like JPG, PNG or other raster format. There are two types images: plain images which are sometimes referenced with a url, and dynamically generated images which are generated by some element. #### Code Sample @@ -14,7 +14,8 @@ This helps in adding an image to a website. * **height:** This specifies a height for the image(can be percent or px or auto) #### CSS Defaults -The `img` element will be rendered by default in most browsers to be displayed as an inline-block display type unless specified otherwise. + +The `img` element will be rendered by default in most browsers to be displayed as an inline-block display type unless specified otherwise. ``` img { @@ -42,3 +43,7 @@ It is advised to change any one parameter, either height or width, to get a prop ##### Datatypes <image> <uri> + +#### More Info: + +- [CSS Images, developer mozilla](https://developer.mozilla.org/en-US/docs/Web/CSS/image)