{"id":6126,"date":"2025-08-22T03:33:50","date_gmt":"2025-08-22T03:33:50","guid":{"rendered":"https:\/\/swatilathia.com\/?page_id=6126"},"modified":"2025-09-02T05:37:47","modified_gmt":"2025-09-02T05:37:47","slug":"css-3-tutorial-2","status":"publish","type":"page","link":"https:\/\/swatilathia.com\/?page_id=6126","title":{"rendered":"CSS 3 Tutorial"},"content":{"rendered":"<body>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2cc61bc3091\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2cc61bc3091\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Border_Property\" >CSS3 Border Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Background_Property\" >CSS3 Background Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Gradient_Property\" >CSS3 Gradient Property<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#Linear_Gradients\" >Linear Gradients<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#Radial_Gradient\" >Radial Gradient<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#Conic_Gradients\" >Conic Gradients<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Box-shadow_Property\" >CSS3 Box-shadow\u00a0Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Box_Sizing_Property\" >CSS3 Box Sizing Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Drop-Shadow_Property\" >CSS3 Drop-Shadow Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Transform_Property_2D\" >CSS3 Transform Property (2D)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#translate\" >translate()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#translateX\" >translateX()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#translateY\" >translateY()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#rotate\" >rotate()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#scale\" >scale()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#scaleX\" >scaleX()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#scaleY\" >scaleY()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#skewX\" >skewX()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#skewY\" >skewY()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#skew\" >skew()<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Transform_Property_3D\" >CSS3 Transform Property (3D)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#rotateX\" >rotateX()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#rotateY\" >rotateY()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#rotateZ\" >rotateZ()<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Transition_Property\" >CSS3 Transition Property<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#transition-property\" >transition-property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#transition-duration_Property\" >transition-duration Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#transition-delay_Property\" >transition-delay Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#transition-timing-function_Property\" >transition-timing-function\u00a0Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#transition_Property\" >transition Property<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Position_Property\" >CSS3 Position Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#CSS3_Flex-box_Property\" >CSS3 Flex-box Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#Overflow_Property\" >Overflow Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#text-overflow_Property\" >text-overflow Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#Cursor_Property\" >Cursor Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#Visibility_Property\" >Visibility Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#filter_Property\" >filter Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#backdrop-filter_Property\" >backdrop-filter Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-39\" href=\"https:\/\/swatilathia.com\/?page_id=6126\/#object-fit_Property\" >object-fit Property<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS3_Border_Property\"><\/span>CSS3 Border Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>border-bottom-left-radius <strong>Property<\/strong>: <\/strong>It adds rounded border to the bottom-left corner of a given element. Values may be : %, pixels<\/li>\n\n\n\n<li><strong>border-bottom-right-radius <strong>Property<\/strong>: <\/strong>It adds rounded border to the bottom-right corner of a given element. Values may be : %, pixels<\/li>\n\n\n\n<li><strong>border-top-left-radius <strong>Property<\/strong>: <\/strong>It adds rounded border to the top-left corner of a given element. Values may be : %, pixels<\/li>\n\n\n\n<li><strong>border-top-right-radius <strong>Property<\/strong>: <\/strong>It adds rounded border to the top-right corner of a given element. Values may be : %, pixels<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#e7{\n\t\t\t\tborder-bottom-left-radius:25px;\n\t\t\t\tborder-top-left-radius:25px;\n\t\t\t\tborder-bottom-right-radius:25px;\n\t\t\t\tborder-top-right-radius:25px;\n\t\t\t\tborder:2px solid lightblue;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p id='e7'&gt;Border with radius for each side&lt;\/p&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#e7{\n\t\t\t\tborder-bottom-left-radius:25px;\n\t\t\t\tborder-top-left-radius:25px;\n\t\t\t\tborder-bottom-right-radius:25px;\n\t\t\t\tborder-top-right-radius:25px;\n\t\t\t\tborder:2px solid lightblue;\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p id=\"e7\">Border with radius for each side<\/p>\n\t\n\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>border-radius <strong>Property<\/strong>:<\/strong> It adds rounded corners (all four) to given element. It is a shorthand property for all the corners.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#e8{\n\t\t\t\tborder-radius:5px;\n\t\t\t\tborder:2px solid magenta;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p id='e8'&gt;Border Radius Short hand property for all side&lt;\/p&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#e8{\n\t\t\t\tborder-radius:5px;\n\t\t\t\tborder:2px solid magenta;\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p id=\"e8\">Border Radius Short hand property for all side<\/p>\n\t\n\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS3_Background_Property\"><\/span>CSS3 Background Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>background-size <strong>Property<\/strong><\/strong> : It allows you to specify the size of background images. The size can be specified in lengths, percentages, or by using one of the two keywords: contain or cover. The following example resizes a background image to much smaller than the original image (using pixels)<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#p_1{\n\t\t\t\tborder:solid 5px black;\n\t\t\t\tbackground:url(stats.png);\n\t\t\t\tbackground-size:100px 100px;\n\t\t\t\tbackground-repeat:no-repeat;\n\t\t\t\tpadding:100px;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p id='p_1'&gt;According to facts &amp; figures, Google is the most popular search engine all over the globe.&lt;\/p&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Contain<\/strong> scales the background image to be as large as possible (but both its width and its height must fit inside the content area). As such, depending on the proportions of the background image and the background positioning area, there may be some areas of the background which are not covered by the background image.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Cover<\/strong> scales the background image so that the content area is completely covered by the background image (both its width and height are equal to or exceed the content area). As such, some parts of the background image may not be visible in the background positioning area.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#p1{\n\t\t\t\tborder:solid 5px black;\n\t\t\t\theight:400px;\n\t\t\t\twidth:500px;\n\t\t\t\tbackground:url(flower.png);\n\t\t\t\tbackground-size:contain;\n\t\t\t\tbackground-repeat:no-repeat;\n\t\t\t}\n\t\t\t#p2{\n\t\t\t\tborder:solid 5px black;\n\t\t\t\theight:400px;\n\t\t\t\twidth:500px;\n\t\t\t\tbackground:url(flower.png);\n\t\t\t\tbackground-size:cover;\n\t\t\t\tbackground-repeat:no-repeat;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p id='p1'&gt;Hello World&lt;\/p&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p id='p2'&gt;Hello World&lt;\/p&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>background-origin Property<\/strong>: It specifies where the background image is positioned. The property takes three different values:\n<ul class=\"wp-block-list\">\n<li><strong>border-box<\/strong> \u2013 the background image starts from the upper left corner of the border<\/li>\n\n\n\n<li><strong>padding-box<\/strong> \u2013 (default) the background image starts from the upper left corner of the padding edge<\/li>\n\n\n\n<li><strong>content-box<\/strong> \u2013 the background image starts from the upper left corner of the content<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#p1{\n\t\t\t\tborder:double 10px black;\n\t\t\t\tpadding:50px;\n\t\t\t\tbackground:url(flower.jpg);\n\t\t\t\tbackground-repeat:no-repeat;\n\t\t\t\tbackground-origin:border-box;\n\t\t\t}\n\t\t\t#p2{\n\t\t\t\tborder:double 10px black;\n\t\t\t\tpadding:50px;\n\t\t\t\tbackground:url(flower.jpg);\n\t\t\t\tbackground-repeat:no-repeat;\n\t\t\t\tbackground-origin:padding-box;\n\t\t\t}\n\t\t\t#p3{\n\t\t\t\tborder:double 10px black;\n\t\t\t\tpadding:50px;\n\t\t\t\tbackground:url(flower.jpg);\n\t\t\t\tbackground-repeat:no-repeat;\n\t\t\t\tbackground-origin:content-box;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p id=p1&gt;Hello World&lt;\/p&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p id=p2&gt;Hello World&lt;\/p&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p id=p3&gt;Hello World&lt;\/p&gt;\n\t\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>background-clip Property:<\/strong> It specifies the painting area of the background. It takes three different values:\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">border-box \u2013 (default) the background is painted to the outside edge of the border<\/li>\n\n\n\n<li class=\"has-medium-font-size\">padding-box \u2013 the background is painted to the outside edge of the padding<\/li>\n\n\n\n<li class=\"has-medium-font-size\">content-box \u2013 the background is painted within the content box.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#p1{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t}\n\t\t\t#p2{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t\t\tbackground-clip:padding-box;\n\t\t\t}\n\t\t\t#p3{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t\t\tbackground-clip:content-box;\n\t\t\t}\n\t\t\t#p4{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t\t\tbackground-clip:border-box;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p id=p1&gt;Hello World&lt;\/p&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p id=p2&gt;Hello World&lt;\/p&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p id=p3&gt;Hello World&lt;\/p&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p id=p4&gt;Hello World&lt;\/p&gt;\n\t\t\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#p1{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t}\n\t\t\t#p2{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t\t\tbackground-clip:padding-box;\n\t\t\t}\n\t\t\t#p3{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t\t\tbackground-clip:content-box;\n\t\t\t}\n\t\t\t#p4{\n\t\t\t\t\tborder: 10px dotted black;\n\t\t\t\t\tpadding: 35px;\n\t\t\t\t\tbackground: cyan;\n\t\t\t\t\tbackground-clip:border-box;\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p id=\"p1\">Hello World<\/p><br><br>\n\t\t<p id=\"p2\">Hello World<\/p><br><br>\n\t\t<p id=\"p3\">Hello World<\/p><br><br>\n\t\t<p id=\"p4\">Hello World<\/p>\n\t\t\n\t\n\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS3_Gradient_Property\"><\/span>CSS3 Gradient Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li class=\"has-medium-font-size\">CSS3 gradients displays smooth transitions between two or more specified colors. There are three types of gradients:\n<ul class=\"wp-block-list\">\n<li><strong>Linear Gradients (moves down\/up\/left\/right\/diagonally)<\/strong><\/li>\n\n\n\n<li><strong>Radial Gradients (defined by their center)<\/strong><\/li>\n\n\n\n<li><strong>Conic Gradients (rotated around a center point)<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Linear_Gradients\"><\/span><strong>Linear Gradients<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>To create a linear gradient, you have to define at least two colors. These are the colors you want to render smooth transitions among. You can also set a starting point and a direction (or an angle) along with the gradient effect.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Syntax :<\/strong> background-image: linear-gradient(direction,\u00a0color1,\u00a0color2, \u2026);<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong> : This is default direction : top to bottom linear gradient<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#d1{\n\t\t\t\theight:100px;\n                                width:100px;\n\t\t\t\tbackground-image:linear-gradient(pink,purple);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Linear Gradient - Top to Bottom&lt;\/p&gt;\n\t\t&lt;div id=d1&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#d1{\n\t\t\t\theight:100px;\n                                width:100px;\n\t\t\t\tbackground-image:linear-gradient(pink,purple);\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Linear Gradient \u2013 Top to Bottom<\/p>\n\t\t<div id=\"d1\"><\/div><br><br>\n\t\n\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example :<\/strong> To render a transition from left to right, do the following<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#d2{\n\t\t\theight:100px;\n                        width:100px;\n\t\t\tbackground-image:linear-gradient(to right,pink,purple);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Linear Gradient - left to right&lt;\/p&gt;\n\t\t&lt;div id=d2&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#d2{\n\t\t\theight:100px;\n                        width:100px;\n\t\t\tbackground-image:linear-gradient(to right,pink,purple);\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Linear Gradient \u2013 left to right<\/p>\n\t\t<div id=\"d2\"><\/div><br><br>\n\t\n\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong><strong>Example :<\/strong> To render a transition from left to bottom right(diagonal), do the following<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t#d3{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(to bottom right,pink,red);\n\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Linear Gradient - Top to bottom right&lt;\/p&gt;\n\t\t&lt;div id=d3&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t#d3{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(to bottom right,pink,red);\n\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Linear Gradient \u2013 Top to bottom right<\/p>\n\t\t<div id=\"d3\"><\/div><br><br>\n\t\n\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>You can also define an angle, if you don\u2019t want to use predefined directions (to bottom, to top, to right, to left, to bottom right, etc.). A value of 0deg is equivalent to \u201cto top\u201d. A value of 90deg is equivalent to \u201cto right\u201d. A value of 180deg is equivalent to \u201cto bottom\u201d.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#d4{\n\t\t\theight:100px;\n                        width:100px;\n\t\t\tbackground-image:linear-gradient(90deg,pink,red);\n                        }\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Linear Gradient 90 Degree - left to right&lt;\/p&gt;\n\t\t&lt;div id=d4&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#d4{\n\t\t\theight:100px;\n                        width:100px;\n\t\t\tbackground-image:linear-gradient(90deg,pink,red);\n                        }\n\t\t<\/style>\n\t\n\t\n\t\t<p>Linear Gradient 90 Degree \u2013 left to right<\/p>\n\t\t<div id=\"d4\"><\/div><br><br>\n\t\n\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>Multi-color Gradient<\/strong><\/li>\n\n\n\n<li class=\"has-medium-font-size\">You can also use more than two colors with specified directions for transition effect. Let us check an example<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t#d5{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(orange,pink,purple,red);\n\t\t}\n\t\t#d6{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(to right,orange,pink,purple);\n\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Linear Gradient - Multi color&lt;\/p&gt;\n\t\t&lt;div id=d5&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;div id=d6&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t#d5{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(orange,pink,purple,red);\n\t\t}\n\t\t#d6{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(to right,orange,pink,purple);\n\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Linear Gradient \u2013 Multi color<\/p>\n\t\t<div id=\"d5\"><\/div><br><br>\n\t\t<div id=\"d6\"><\/div><br><br>\n\t\n\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>You can use transparency in transition effect. For that rgba() is used to define colors &amp; transparency. Transparency value ranges from 0(full transparent) to 1(no transparent\/opaque).<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t#d7{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(to right,rgba(0,255,0,0.5),rgba(0,0,255,1));\n\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Linear Gradient - Transparency Effect&lt;\/p&gt;\n\t\t&lt;div id=d7&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t#d7{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image:linear-gradient(to right,rgba(0,255,0,0.5),rgba(0,0,255,1));\n\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Linear Gradient \u2013 Transparency Effect<\/p>\n\t\t<div id=\"d7\"><\/div><br><br>\n\t\n\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Repeating Linear Gradient :<\/strong> repeating-linear-gradient() is used to repeat linear gradient<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong>: starting blue and finishing green, repeating 3 times <\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t#d8{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image: repeating-linear-gradient(blue,green 33.3%);\n\t\t}\n\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Repeating Linear Gradient&lt;\/p&gt;\n\t\t&lt;div id=d8&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t#d8{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image: repeating-linear-gradient(blue,green 33.3%);\n\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Repeating Linear Gradient<\/p>\n\t\t<div id=\"d8\"><\/div><br><br>\n\t\n\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong>: A repeating gradient going from the bottom right to the top left, starting blue and finishing red, repeating every 20px <\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t#dd8{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image: repeating-linear-gradient(to top left,blue,red 20px);\n\t\t}\n\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Repeating Linear Gradient&lt;\/p&gt;\n\t\t&lt;div id=dd8&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t#dd8{\n\t\theight:100px;\n                width:100px;\n\t\tbackground-image: repeating-linear-gradient(to top left,blue,red 20px);\n\t\t}\n\n\t\t<\/style>\n\t\n\t\n\t\t<p>Repeating Linear Gradient<\/p>\n\t\t<div id=\"dd8\"><\/div><br><br>\n\t\n\n\n\n\n<h3 class=\"wp-block-heading\" id=\"radial-gradient\"><span class=\"ez-toc-section\" id=\"Radial_Gradient\"><\/span><strong>Radial Gradient<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>A radial gradient is defined by its center. Two colors must be defined to do radial gradient effect.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>background-image: radial-gradient(shape, start-color, \u2026, last-color);<\/li>\n\n\n\n<li>Shape may be either circle or ellipse(default).<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#d9{\n\t\t\theight:100px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:radial-gradient(red,purple,pink);\n\t\t\t}\n\t\t\t#d10{\n\t\t\theight:100px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:radial-gradient(circle,purple,blue,green);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Radial Gradient Ellipse (Default Shape)&lt;\/p&gt;\n\t\t&lt;div id=d9&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\n                &lt;p&gt;Radial Gradient Circle&lt;\/p&gt;\n\t\t&lt;div id=d10&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#d9{\n\t\t\theight:100px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:radial-gradient(red,purple,pink);\n\t\t\t}\n\t\t\t#d10{\n\t\t\theight:100px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:radial-gradient(circle,purple,blue,green);\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Radial Gradient Ellipse (Default Shape)<\/p>\n\t\t<div id=\"d9\"><\/div><br><br>\n\n                <p>Radial Gradient Circle<\/p>\n\t\t<div id=\"d10\"><\/div><br><br>\n\t\n\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Repeating a radial-gradient<\/strong> : The repeating-radial-gradient() function is used to repeat radial gradients<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#d11{\n\t\t\theight:200px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:repeating-radial-gradient(pink,purple 20%);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Repeating Radial Gradient&lt;\/p&gt;\n\t\t&lt;div id=d11&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#d11{\n\t\t\theight:200px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:repeating-radial-gradient(pink,purple 20px);\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Repeating Radial Gradient<\/p>\n\t\t<div id=\"d11\"><\/div><br><br>\n\t\n\n\n\n\n<h3 class=\"wp-block-heading\" id=\"conic-gradients\"><span class=\"ez-toc-section\" id=\"Conic_Gradients\"><\/span><strong>Conic Gradients<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>A conic gradient is a gradient with color transitions rotated around a center point. To create a conic gradient you have to define at least two colors.<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> background-image: conic-gradient([from<em>\u00a0<\/em>angle] [at\u00a0position,]\u00a0<em>color\u00a0<\/em>[degree]<em>, color\u00a0<\/em>[degree]<em>, \u2026<\/em>);<\/li>\n\n\n\n<li>0deg is a default angle and\u00a0center is default position. If no\u00a0degree\u00a0is specified, the colors will be spread equally around the center point.<\/li>\n\n\n\n<li>Lest us check and example includes <strong>Conic Gradient: Three Colors<\/strong>, <strong>Five Colors, Three colors with Degree<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#d12{\n\t\t\theight:200px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:conic-gradient(pink,purple,green);\n\t\t\t}\n\t\t\t#d13{\n\t\t\theight:200px;\n\t\t\twidth:500px;\n\t\t\tbackground-image:conic-gradient(red, yellow, green,purple,pink);\n\t\t\t}\n\t\t\t#d14{\n\t\t\theight:200px;\n\t\t\twidth:500px;\n\t\t\tbackground-image:conic-gradient(green 45deg,purple 90deg,pink 180deg);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Conic Gradient three colors&lt;\/p&gt;\n\t\t&lt;div id=d12&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p&gt;Conic Gradient five colors&lt;\/p&gt;\n\t\t&lt;div id=d13&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t\t&lt;p&gt;Conic Gradient three colors with degree&lt;\/p&gt;\n\t\t&lt;div id=d14&gt;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\n\t\t<style>\n\t\t\t#d12{\n\t\t\theight:200px;\n\t\t\twidth:200px;\n\t\t\tbackground-image:conic-gradient(pink,purple,green);\n\t\t\t}\n\t\t\t#d13{\n\t\t\theight:200px;\n\t\t\twidth:500px;\n\t\t\tbackground-image:conic-gradient(red, yellow, green,purple,pink);\n\t\t\t}\n\t\t\t#d14{\n\t\t\theight:200px;\n\t\t\twidth:500px;\n\t\t\tbackground-image:conic-gradient(green 45deg,purple 90deg,pink 180deg);\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>Conic Gradient three colors<\/p>\n\t\t<div id=\"d12\"><\/div><br><br>\n\t\t<p>Conic Gradient five colors<\/p>\n\t\t<div id=\"d13\"><\/div><br><br>\n\t\t<p>Conic Gradient three colors with degree<\/p>\n\t\t<div id=\"d14\"><\/div><br><br>\n\t\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"box-shadow-property\"><span class=\"ez-toc-section\" id=\"CSS3_Box-shadow_Property\"><\/span>CSS3 Box-shadow\u00a0Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It attaches one or more shadows to an element.<\/li>\n\n\n\n<li><strong>Syntax<\/strong> : box-shadow: none|h-offset v-offset blur spread color\u00a0|inset|initial|inherit;<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d15{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow: 5px 10px;\n\t\t\t}\n\t\t\t#d16{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow: 5px 10px red;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;The box-shadow property of an element - Example 1&lt;\/p&gt;&lt;br&gt;\n\t\t&lt;div id=\"d15\"&gt;\n\t\t\t&lt;p&gt;Hello Everyone&lt;\/p&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t\t&lt;div id=\"d16\"&gt;\n\t\t\t&lt;p&gt;Hello Everyone&lt;\/p&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\n\t\n\t\t<style> \n\t\t\t#d15{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow: 5px 10px;\n\t\t\t}\n\t\t\t#d16{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow: 5px 10px red;\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>The box-shadow property of an element \u2013 Example 1<\/p><br>\n\t\t<div id=\"d15\">\n\t\t\t<p>Hello Everyone<\/p>\n\t\t<\/div><br>\n\t\t<div id=\"d16\">\n\t\t\t<p>Hello Everyone<\/p>\n\t\t<\/div><br>\n\t\n\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Property Values<\/strong>:<\/li>\n\n\n\n<li><strong>None<\/strong> : No Shadow is displayed. This is default value.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>        &lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d17{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow: None\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;The box-shadow property Example - 2&lt;\/p&gt;&lt;br&gt;\n\t\t&lt;div id=\"d17\"&gt;\n\t\t\t&lt;p&gt;Hello World&lt;\/p&gt;\n\t\t&lt;\/div&gt;\n\t&lt;\/body&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Output<\/strong><\/p>\n\n\n\n\n\t\t<style> \n\t\t\t#d17{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow: None\n\t\t\t}\n\t\t<\/style>\n\t\n\t\n\t\t<p>The box-shadow property Example \u2013 2<\/p><br>\n\t\t<div id=\"d17\">\n\t\t\t<p>Hello World<\/p>\n\t\t<\/div>\n\t\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>h-offset<\/strong> : This is required. It indicates horizontal offset of the shadow. A positive value puts the shadow on the right side of the box, a negative value puts the shadow on the left side of the box.<\/li>\n\n\n\n<li><strong>v-offset <\/strong>: This is required. It indicates vertical offset of the shadow. A positive value puts the shadow below the box, a negative value puts the shadow above the box.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d18{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow:10px 10px red;\n\t\t\t}\n\n                        #d19{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow:-10px -10px red;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t&lt;p&gt;The box-shadow Property : Positive h-offset &amp; v-offset&lt;\/p&gt;&lt;br&gt;\n\t\t&lt;div id=\"d18\"&gt;\n\t\t\t&lt;p&gt;Hello World&lt;\/p&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\n        &lt;p&gt;The box-shadow Property : Negative h-offset &amp; v-offset&lt;\/p&gt;&lt;br&gt;\n\t\t&lt;div id=\"d19\"&gt;\n\t\t\t&lt;p&gt;Hello World&lt;\/p&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;&lt;br&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>blur<\/strong> : This is optional. It indicates the blur radius. The higher the number, the more blurred the shadow will be.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d20{\n\t\t\t\tborder: 1px solid;\n                                width:200px;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow:50px 50px 10px red;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;The box-shadow Property : Blur effect&lt;\/p&gt;\n\t\t&lt;div id=\"d20\"&gt;\n\t\t\t&lt;p&gt;Hello World&lt;\/p&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t&lt;\/body&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Spread<\/strong> : This is optional. It is a spread radius. A positive value increases the size of the shadow, a negative value decreases the size of the shadow.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d21{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n\t\t\t\tbox-shadow:50px 50px 10px 20px gray;\n                                width:200px;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;The box-shadow Property : Blur effect with spread radius&lt;\/p&gt;\n\t\t&lt;div id=\"d21\"&gt;\n\t\t\t&lt;p&gt;Hello World&lt;\/p&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t&lt;\/body&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Color<\/strong> : This is optional. It is a color of the shadow. The default value is the text color.<\/li>\n\n\n\n<li><strong>inset<\/strong> : This is optional. It changes the shadow from an outer shadow (outset) to an inner shadow.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d22{\n\t\t\t\tborder: 1px solid;\n\t\t\t\tpadding: 10px;\n                                width:200px;\n\t\t\t\tbox-shadow:10px 10px 50px 10px gray inset;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;P&gt;The box-shadow Property : Inset&lt;\/P&gt;\n\t\t&lt;div id=\"d22\"&gt;\n\t\t\t&lt;p&gt;Hello World&lt;\/p&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t&lt;\/body&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"box-sizing-property\"><span class=\"ez-toc-section\" id=\"CSS3_Box_Sizing_Property\"><\/span>CSS3 Box Sizing Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This property allows us to include the border &amp; padding in an element\u2019s total width and height. <\/li>\n\n\n\n<li>Usually, Actual width of an element = border + padding + width. <\/li>\n\n\n\n<li>Actual height of an element = border + padding + height. <\/li>\n\n\n\n<li>That means , when we set the width\/height of an element, the element sometimes appears bigger than we have set . This is all because of the element\u2019s border and padding are added to the element\u2019s specified width\/height. This problem is solved by box-sizing property.<\/li>\n\n\n\n<li><strong>box-sizing<\/strong> property allows us to include the padding and border in an element\u2019s total width and height. It defines how the width and height of an element are calculated: should they include padding and borders, or not.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>box-sizing: content-box|border-box ;<\/li>\n\n\n\n<li>Here <strong>content-box<\/strong> is the default. The width and height properties (and min\/max properties) includes only the content. Border and padding are not included.<\/li>\n\n\n\n<li>In <strong>border-box<\/strong>, the width and height properties (and min\/max properties) includes content, padding and border.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt; \n#d23{\n  box-sizing: content-box;  \n  width: 200px;\n  height: 100px;\n  padding: 30px;  \n  border: 10px solid red;\n}\n#d24{\n  box-sizing: border-box;\n  width: 200px;\n  height: 100px;\n  padding: 30px;  \n  border: 10px solid red;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n\n    &lt;P&gt;box-sizing: content-box - default value&lt;\/P&gt;\n    &lt;p&gt;Here Width and Height are only applied to the content of the element&lt;\/p&gt;     &lt;br&gt;\n\n    &lt;div id=\"d23\"&gt;\n       &lt;\/div&gt;&lt;br&gt;\n\n    &lt;p&gt;box-sizing: border-box&lt;\/p&gt;\n    &lt;p&gt;Width and height apply to all parts of the element - content, padding and     borders&lt;\/p&gt;&lt;br&gt;\n\n    &lt;div id=\"d24\"&gt;Here, the full width is 300px, no matter what&lt;\/div&gt;&lt;br&gt;\n\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS3_Drop-Shadow_Property\"><\/span>CSS3 Drop-Shadow Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>The drop-shadow() is an inbuilt function that is used to apply a filter to an image in order to set the picture\u2019s shadow. Drop-shadow() generates a blurred shadow with a provided offset and color.<\/li>\n\n\n\n<li><strong>offset-x:<\/strong>\u00a0This parameter sets the horizontal offset of an image. The positive value creates the offset to the right side and negative value creates the offset to the left side.<\/li>\n\n\n\n<li><strong>offset-y:<\/strong>\u00a0This parameter sets the vertical offset of an image. The positive value creates the offset to the bottom side and negative value creates the offset to the top side.<\/li>\n\n\n\n<li><strong>blur-radius:<\/strong>\u00a0It sets the value of blur radius. It is an optional parameter.<\/li>\n\n\n\n<li><strong>color:<\/strong>\u00a0It sets the color of drop shadow. Its optional parameter.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\timg {\n\t\tfilter:drop-shadow(-10px 10px 10px red);\n\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;img src='stats.png'&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2d-transform-property\"><span class=\"ez-toc-section\" id=\"CSS3_Transform_Property_2D\"><\/span>CSS3 Transform Property (2D)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">CSS3 2D Transform property can be used to translate, rotate, scale &amp; skew the given element using different methods.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"translate\"><span class=\"ez-toc-section\" id=\"translate\"><\/span><strong>translate()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method is used to move an element from its current position depending on the parameters given for the X-axis and the Y-axis.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>transform : translate (pixels in x, pixels in y)<\/li>\n\n\n\n<li><strong>Example :<\/strong> Here, division element is moved 100 pixels in X-axis &amp; 100 pixels in Y-axis.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d25{\n\t\t\t\twidth:100px;\n\t\t\t\theight:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid black;\n\t\t\t\ttransform:translate(10px,10px);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div id='d25'&gt;\n\t\t\tHello World\n\t\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"translatex\"><span class=\"ez-toc-section\" id=\"translateX\"><\/span><strong>translateX()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method is used to move an element from its current position depending on the parameters given for the X-axis.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>transform : translateX (pixels in x)<\/li>\n\n\n\n<li><strong>Example :<\/strong> In the following example, division element is moved 200 pixels in X-axis.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d26{\n\t\t\t\twidth:100px;\n\t\t\t\theight:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid black;\n\t\t\t\ttransform:translateX(50px);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div id='d26'&gt;\n\t\t\tHello World\n\t\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"translatex\"><span class=\"ez-toc-section\" id=\"translateY\"><\/span><strong>translateY()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method is used to move an element from its current position depending on the parameters given for the Y-axis.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>transform : translateY (pixels in y)<\/li>\n\n\n\n<li><strong>Example :<\/strong> In the following example, division element is moved 100 pixels in Y-axis.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d27{\n\t\t\t\twidth:100px;\n\t\t\t\theight:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid black;\n\t\t\t\ttransform:translateY(50px);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div id='d27'&gt;\n\t\t\tHello World\n\t\t&lt;\/div&gt;&lt;br&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"rotate\"><span class=\"ez-toc-section\" id=\"rotate\"><\/span><strong>rotate()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method is used to rotate an element clockwise or counter-clockwise at a given degree. If you want to rotate clockwise, set the degree positive. If you want to rotate anticlockwise, set the degree negative.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>transform : rotate(degree) (degree in +ve or -ve)<\/li>\n\n\n\n<li><strong>Example<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d28{\n\t\t\t\twidth:100px;\n\t\t\t\theight:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid black;\n\t\t\t}\n\t\t\t#d29{\n\t\t\t\twidth:100px;\n\t\t\t\theight:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid black;\n\t\t\t\ttransform:rotate(180deg);\n\t\t\t}\n\t\t\t#d30{\n\t\t\t\twidth:100px;\n\t\t\t\theight:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid black;\n\t\t\t\ttransform:rotate(-90deg);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Rotate &lt;\/p&gt;\n\t\t&lt;div id='d28'&gt;\n\t\t\tHello World\n\t\t&lt;\/div&gt;\n\t\t&lt;div id='d29'&gt;\n\t\t\tHello World\n\t\t&lt;\/div&gt;\n\t\t&lt;div id='d30'&gt;\n\t\t\tHello World\n\t\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"scale\"><span class=\"ez-toc-section\" id=\"scale\"><\/span><strong>scale()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method is used to increase or decrease the size of an element depending on the parameters given for the width and height.<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> transform : scale (width, height). Width &amp; Height must be numbers like 0,0.5,1,2 etc.<\/li>\n\n\n\n<li><strong>Example<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d31{\n\t\t\t\tmargin:30px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t}\n\t\t\t#d32{\n\t\t\t\tmargin: 60px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\ttransform: scale(2,2);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div id='d31'&gt;\n\t\t\tNormal element\n\t\t&lt;\/div&gt;\n\t\t&lt;div id='d32'&gt;\n\t\t\tDouble than above element\n\t\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"scalex\"><span class=\"ez-toc-section\" id=\"scaleX\"><\/span><strong>scaleX()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method is used to increase or decrease the width of an element.<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> transform : scaleX(width)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"scaley\"><span class=\"ez-toc-section\" id=\"scaleY\"><\/span><strong>scaleY()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method is used to increase or decrease the height of an element.<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> transform : scaleY(height)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d33{\n\t\t\t\tmargin: 150px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t}\n\t\t\t#d34{\n\t\t\t\tmargin: 150px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\ttransform: scaleX(2);\n\t\t\t}\n\t\t\t#d35{\n\t\t\t\tmargin: 150px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\ttransform: scaleY(3);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div id='d33'&gt;\n\t\t\tNormal element\n\t\t&lt;\/div&gt;\n\t\t&lt;div id='d34'&gt;\n\t\t\tScale in width\n\t\t&lt;\/div&gt;\n\t\t&lt;div id='d35'&gt;\n\t\t\tScale in height\n\t\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"skewx\"><span class=\"ez-toc-section\" id=\"skewX\"><\/span><strong>skewX()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method skews an element along the X-axis by the given angle.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>transform : skewX (degree)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"skewy\"><span class=\"ez-toc-section\" id=\"skewY\"><\/span><strong>skewY()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">This method skews an element along the Y-axis by the given angle.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Syntax :<\/strong> transform : skewY (degree)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d36{\n\t\t\t\tmargin: 150px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t}\n\t\t\t#d37{\n\t\t\t\tmargin: 150px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\ttransform: skewX(45deg);\n\t\t\t}\n\t\t\t#d38{\n\t\t\t\tmargin: 150px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\ttransform: skewY(45deg);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div id='d36'&gt;\n\t\t\tNormal element\n\t\t&lt;\/div&gt;\n\t\t&lt;div id='d37'&gt;\n\t\t\tSkew in X-axis\n\t\t&lt;\/div&gt;\n\t\t&lt;div id='d38'&gt;\n\t\t\tSkew in Y-axis\n\t\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"skew\"><span class=\"ez-toc-section\" id=\"skew\"><\/span><strong>skew()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This method skews an element along the X and Y-axis by the given angles.<\/li>\n\n\n\n<li>Syntax : transform : skew (degree in X, degree in Y)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d39{\n\t\t\t\tmargin: 150px;\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\ttransform: skew(20deg,20deg);\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div id='d39'&gt;\n\t\t\tSkew in Both Axis at 20 degree\n\t\t&lt;\/div&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3d-transform-property\"><span class=\"ez-toc-section\" id=\"CSS3_Transform_Property_3D\"><\/span>CSS3 Transform Property (3D)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It applies a 3D transformation to an element. Transform property can be used with different methods : rotateX(), rotateY(), rotateZ()<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"rotateX\"><\/span><strong>rotateX()<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It rotates an element around its X-axis at a given degree.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"rotateY\"><\/span><strong>rotateY() <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It rotates an element around its Y-axis at a given degree.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"rotateZ\"><\/span><strong>rotateZ()<\/strong> <span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It \u00a0rotates an element around its Z-axis at a given degree.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d{\n\t\t\t\twidth: 200px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\n\t\t\t}\n\t\t\t#d1{\n\t\t\t\twidth: 200px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\t\n\t\t\t\ttransform:rotateX(180deg);\n\t\t\t}\n\t\t\t#d2{\n\t\t\t\twidth: 200px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\t\n\t\t\t\ttransform:rotateY(180deg);\n\t\t\t}\n\t\t\t#d3{\n\t\t\t\twidth: 200px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-color: cyan;\n\t\t\t\tborder: 1px solid black;\t\n\t\t\t\ttransform:rotateZ(90deg);\n\t\t\t}\n\t\t\t\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;h1&gt;Matrix&lt;\/h1&gt;\n\t\t&lt;div id=d&gt;\n\t\t\tHello world\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t\t&lt;div id=d1&gt;\n\t\t\tRotate in X direction\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t\t&lt;div id=d2&gt;\n\t\t\tRotate in Y direction\n\t\t&lt;\/div&gt;\n\t\t&lt;div id=d3&gt;\n\t\t\tRotate in Z direction\n\t\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"transition-property\"><span class=\"ez-toc-section\" id=\"CSS3_Transition_Property\"><\/span>CSS3 Transition Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>CSS3 transitions allows you to change property values smoothly, over a given duration. <\/li>\n\n\n\n<li>To create a transition effect, you must specify two things: <strong><em>the CSS3 property you want to add an effect to &amp; the duration of the effect<\/em><\/strong>. <\/li>\n\n\n\n<li>If the duration part is not specified, the transition will have no effect, because the default value is 0.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"transition-property-2\"><span class=\"ez-toc-section\" id=\"transition-property\"><\/span><strong>transition-property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It specifies the name of the CSS3 property the transition effect is for. <\/li>\n\n\n\n<li class=\"has-medium-font-size\">The transition effect will start when the specified CSS3 property changes. <\/li>\n\n\n\n<li>The transition effect could typically occur when a user hover over an element. <\/li>\n\n\n\n<li>To get transition effect, you must take transition-duration property.<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> transition-property : all | width | height | none | property ;<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"transition-duration-property-1\"><span class=\"ez-toc-section\" id=\"transition-duration_Property\"><\/span><strong>transition-duration Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It specifies how many seconds (s) or milliseconds (ms) a transition effect takes to complete.<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> transition-duration:\u00a0time;<\/li>\n\n\n\n<li><strong>Example :<\/strong> transition-property &amp; transition-duration property<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d43{\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground: cyan;\n\t\t\t\ttransition-property:width;\n\t\t\t\ttransition-duration:5s;\n\t\t\t}\n\t\t\t#d43:hover {\n\t\t\t\twidth: 300px;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n                &lt;p&gt;This transition takes 5 seconds to complete&lt;\/p&gt;\n                &lt;div id='d43'&gt;Take your mouse here&lt;\/div&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"transition-delay-property\"><span class=\"ez-toc-section\" id=\"transition-delay_Property\"><\/span><strong>transition-delay Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It specifies when the transition effect will start. The\u00a0value is defined in seconds (s) or milliseconds (ms).<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> transition-delay:\u00a0time;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#d44{\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground: cyan;\n\t\t\t\ttransition-property:width;\n\t\t\t\ttransition-duration:5s;\n\t\t\t\ttransition-delay:8s;\n\t\t\t}\n\t\t\t#d44:hover {\n\t\t\t\twidth: 300px;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n                &lt;p&gt; After 8 seconds, transition will start&lt;\/p&gt;\n\t\t&lt;div id='d44'&gt;Take your mouse here&lt;\/div&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"transition-timing-function-property\"><span class=\"ez-toc-section\" id=\"transition-timing-function_Property\"><\/span><strong>transition-timing-function\u00a0Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It specifies the speed curve of the transition effect. It allows a transition effect to change speed over its duration.<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>transition-timing-function: linear | ease | ease-in | ease-out | ease-in-out.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>linear : <\/strong>It specifies a transition effect with the same speed from start to end. <\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>ease :<\/strong> This is default value. It specifies a transition effect with a slow start, then fast, then end slowly.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>ease-in : <\/strong>It specifies a transition effect with a slow start.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>ease-out :<\/strong> It specifies a transition effect with a slow end.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>ease-in-out :<\/strong> It specifies a transition effect with a slow start and end.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt; \n#d45,#d46,#d47,#d48,#d49{\n  width: 100px;\n  height: 100px;\n  background: cyan;\n  transition: width 1s;\n}\n#d45 {transition-timing-function:linear;}\n#d46 {transition-timing-function:ease;}\n#d47 {transition-timing-function:ease-in;}\n#d48 {transition-timing-function:ease-out;}\n#d49 {transition-timing-function:ease-in-out;}\n\n#d45:hover,#d46:hover,#d47:hover,#d48:hover,#d49:hover {\n  width: 250px;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;div id=\"d45\"&gt;This is linear&lt;\/div&gt;&lt;br&gt;\n&lt;div id=\"d46\"&gt;This is ease&lt;\/div&gt;&lt;br&gt;\n&lt;div id=\"d47\"&gt;This is ease-in&lt;\/div&gt;&lt;br&gt;\n&lt;div id=\"d48\"&gt;This is ease-out&lt;\/div&gt;&lt;br&gt;\n&lt;div id=\"d49\"&gt;This is ease-in-out&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"transition-property-1\"><span class=\"ez-toc-section\" id=\"transition_Property\"><\/span><strong>transition Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This is the shorthand property for : <strong><em>transition-property, transition-duration, transition-timing-function &amp; transition-delay property.<\/em><\/strong> <\/li>\n\n\n\n<li>Depending on the requirements, one or more property values can be used. Always specify transition-duration property.<\/li>\n\n\n\n<li><strong>Syntax :<\/strong> transition:\u00a0property duration timing-function delay<\/li>\n\n\n\n<li>The transition effect will start when the specified CSS3 property (width) changes value. So, let us specify a new value for the width property when a user mouses over the &lt;div&gt; element.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d50{\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground: Cyan;\n\t\t\t\ttransition: width 5s;\n\t\t\t}\n\t\t\t#d50:hover {\n\t\t\t\twidth: 200px;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;P&gt;Transition in 5 Seconds&lt;\/P&gt;\n\t\t&lt;div id='d50'&gt;&lt;\/div&gt;\n        &lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>Let us see another example changes width in 2 seconds &amp; height in 4 seconds<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \t\n\t\t\t#d51{\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground: Cyan;\n\t\t\t\ttransition: width 2s, height 4s;\n\t\t\t}\n\t\t\t#d51:hover {\n\t\t\t\twidth: 200px;\n\t\t\t\theight:200px;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;P&gt;Transition Example - Width in 2 Seconds &amp; Height in 4 Seconds&lt;\/P&gt;\n\t\t&lt;div id='d51'&gt;&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>We can also create transition &amp; transformation effect together. Let us see an example<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt; \n#d52{\n  width: 100px;\n  height: 100px;\n  background: Cyan;\n  transition: width 2s, height 2s, transform 4s;\n}\n#d52:hover {\n  width:200px;\n  height:200px;\n  transform:rotate(180deg);\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;div id='d52'&gt;Take your mouse here&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"position-property\"><span class=\"ez-toc-section\" id=\"CSS3_Position_Property\"><\/span><strong>CSS3 Position Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>Position property specifies the type of positioning method used for an element (static, relative, absolute, fixed, or sticky).<\/li>\n\n\n\n<li><strong>Syntax : <\/strong>position: static|absolute|fixed|relative|sticky;<\/li>\n\n\n\n<li>Elements are then positioned using the top, bottom, left, and right properties. These properties will not work unless the\u00a0position property is set first. They also work differently depending on the position value.\n<ul class=\"wp-block-list\">\n<li>p<strong>osition: static;<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>HTML elements are positioned static by default. Static positioned elements are not affected by the top, bottom, left, and right properties.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n#d53{\n  position: static;\n  border: 3px solid blue;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;div id='d53'&gt;\n             This div element has position: static;\n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>position: relative;<\/strong><\/li>\n\n\n\n<li>An element with position:relative; is positioned relative to its normal position. Setting the top, right, bottom, and left properties of a relatively-positioned element will effect to its original position. Other content will not be adjusted to fit into any gap left by the element.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n#d54{\n  position:relative;\n  width:200px;\n  left: 30px;\n  border: 3px solid blue;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;div id='d54'&gt;\n         This div element has position: relative;\n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>position: fixed;<\/strong><\/li>\n\n\n\n<li>An element with position:fixed;\u00a0\u00a0is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element. A fixed element does not leave a gap in the page where it would normally have been located. The fixed element in the lower-right corner of the page.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n#d55{\n  position: fixed;\n  top: 0;\n  left:0;\n  width: 300px;\n  border: 3px solid green;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;div id='d55'&gt;\n This div element has fixed at the top left corner of the screen\n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CSS3_Flex-box_Property\"><\/span>CSS3 Flex-box Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>CSS Flexbox, short for Flexible Box Layout, is a layout model in CSS (Cascading Style Sheets) that provides an efficient way to arrange and distribute elements within a container, even when their sizes are unknown or dynamic. <\/li>\n\n\n\n<li>It simplifies the process of creating complex layouts and helps with designing responsive and flexible user interfaces.<\/li>\n\n\n\n<li><strong>display:flex; <\/strong>is applied to the container element to enable Flexbox behavior.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n.fbox {\n  display:flex;\n  background-color:lightblue;\n}\n.fbox &gt; div {\n  background-color:white;\n  margin: 10px;\n  padding: 20px;\n  font-size: 30px;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p&gt;Look at the following flex container&lt;\/P&gt;\n&lt;div class=\"fbox\"&gt;\n  &lt;div&gt;CSS1&lt;\/div&gt;\n  &lt;div&gt;CSS2&lt;\/div&gt;\n  &lt;div&gt;CSS3&lt;\/div&gt;  \n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>flex-direction Property<\/strong>: It defines the direction in which the flex items are arranged within the flex container. The possible values for the flex-direction property are:<\/li>\n\n\n\n<li><strong>row :<\/strong> This is the default value. It arranges the flex items in a horizontal row from left to right.<\/li>\n\n\n\n<li><strong>row-reverse :<\/strong> Similar to row, but arranges the flex items in a horizontal row from right to left.<\/li>\n\n\n\n<li><strong>column :<\/strong> Stacks the flex items vertically from top to bottom.<\/li>\n\n\n\n<li><strong>column-reverse :<\/strong> Stacks the flex items vertically from bottom to top.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n.fbox1 {\n  display:flex;\n  background-color:lightblue;\n  flex-direction:row;\n}\n.fbox1 &gt; div {\n  background-color:white;\n  margin: 10px;\n  padding: 20px;\n  font-size: 30px;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p&gt;This flex container arranges the items in a row&lt;\/p&gt;\n&lt;div class=\"fbox1\"&gt;\n  &lt;div&gt;CSS1&lt;\/div&gt;\n  &lt;div&gt;CSS2&lt;\/div&gt;\n  &lt;div&gt;CSS3&lt;\/div&gt;  \n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li class=\"has-medium-font-size\"><strong>flex-wrap Property :<\/strong> It controls whether the flex items should wrap to the next line or remain on a single line within the flex container when they start to exceed the container\u2019s width. <\/li>\n\n\n\n<li class=\"has-medium-font-size\">It\u2019s particularly useful when dealing with responsive layouts where you want to adjust the arrangement of items as the available space changes. This property accepts the following values:\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>nowrap (default):<\/strong> This value prevents flex items from wrapping. They will all try to fit on a single line, potentially causing overflow if the container isn\u2019t wide enough to accommodate them.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>wrap:<\/strong> When set to wrap, flex items will wrap onto the next line as needed when the container becomes too narrow. This is useful for creating responsive layouts where you want items to stack vertically when there isn\u2019t enough horizontal space.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>wrap-reverse:<\/strong> Similar to wrap, but items wrap onto the next line in reverse order. This means the last item becomes the first item on the next line, and so on.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n.fbox6 {\n  display:flex;\n  background-color:lightblue;\n  flex-wrap:wrap;\n}\n.fbox6 &gt; div {\n  background-color:white;\n  text-align:center;\n  margin: 10px;\n  padding: 10px;\n  font-size: 20px;\n  width:40px;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p&gt;This flex container arranges the items with wrap&lt;\/p&gt;\n&lt;div class=\"fbox6\"&gt;\n  &lt;div&gt;A&lt;\/div&gt;\n  &lt;div&gt;B&lt;\/div&gt;\n  &lt;div&gt;C&lt;\/div&gt; \n  &lt;div&gt;D&lt;\/div&gt;\n  &lt;div&gt;E&lt;\/div&gt;\n  &lt;div&gt;F&lt;\/div&gt; \n  &lt;div&gt;G&lt;\/div&gt;\n  &lt;div&gt;H&lt;\/div&gt;\n  &lt;div&gt;I&lt;\/div&gt; \n  &lt;div&gt;J&lt;\/div&gt;\n  &lt;div&gt;K&lt;\/div&gt;\n  &lt;div&gt;L&lt;\/div&gt;  \n&lt;\/div&gt;\n&lt;p&gt;Resize the browser to check&lt;\/p&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>flex-flow Property :<\/strong> It is a shorthand property that combines both the flex-direction and flex-wrap properties into a single declaration<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n.fbox8 {\n  display:flex;\n  background-color:lightblue;\n  flex-flow:row wrap;\n}\n.fbox8 &gt; div {\n  background-color:white;\n  text-align:center;\n  margin: 10px;\n  padding: 10px;\n  font-size: 20px;\n  width:40px;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p&gt;This flex container arranges the items with row wrap&lt;\/p&gt;\n&lt;div class=\"fbox8\"&gt;\n  &lt;div&gt;A&lt;\/div&gt;\n  &lt;div&gt;B&lt;\/div&gt;\n  &lt;div&gt;C&lt;\/div&gt; \n  &lt;div&gt;D&lt;\/div&gt;\n  &lt;div&gt;E&lt;\/div&gt;\n  &lt;div&gt;F&lt;\/div&gt; \n  &lt;div&gt;G&lt;\/div&gt;\n  &lt;div&gt;H&lt;\/div&gt;\n  &lt;div&gt;I&lt;\/div&gt; \n  &lt;div&gt;J&lt;\/div&gt;\n  &lt;div&gt;K&lt;\/div&gt;\n  &lt;div&gt;L&lt;\/div&gt;  \n&lt;\/div&gt;\n&lt;p&gt;Resize the browser to check&lt;\/p&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>justify-content property :<\/strong> It is used to control the alignment and spacing of flex items along the main axis within the flex container. <\/li>\n\n\n\n<li>It determines how extra space is distributed when the total width of the flex items is less than the width of the flex container\u2019s main axis. <\/li>\n\n\n\n<li>This property accepts several values, each affecting the alignment of the flex items in different ways:\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>flex-start :<\/strong> This is the default value. It aligns the flex items at the start of the main axis, pushing them towards the beginning of the container.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>flex-end : <\/strong>It aligns the flex items at the end of the main axis, pushing them towards the end of the container.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>center : <\/strong>It centers the flex items along the main axis within the container.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>space-between :<\/strong> It distributes the flex items evenly along the main axis, with equal space between them. The first item aligns to the start and the last item aligns to the end.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>space-around :<\/strong> It distributes the flex items evenly along the main axis with equal space around them. This creates spacing between all items and at the beginning and end of the container.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>space-evenly : <\/strong>Similar to space-around, it distributes the flex items evenly along the main axis with equal space between items and at the beginning and end, but the spacing is distributed more evenly.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n.fbox9 {\n  display:flex;\n  background-color:lightblue;\n  justify-content:center;\n}\n.fbox9 &gt; div {\n  background-color:white;\n  text-align:center;\n  margin: 10px;\n  padding: 10px;\n  font-size: 20px;\n  width:40px;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p&gt;Center of the container&lt;\/p&gt;\n&lt;div class=\"fbox9\"&gt;\n  &lt;div&gt;A&lt;\/div&gt;\n  &lt;div&gt;B&lt;\/div&gt;\n  &lt;div&gt;C&lt;\/div&gt; \n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>align-items Property :<\/strong> This property is used to control the alignment of flex items in a flex container. The possible values for the align-items property are:\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>stretch (default):<\/strong> This value stretches the flex items to fill the container\u2019s height. If no explicit height is set on the flex items, they will stretch to match the container\u2019s height.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>flex-start : <\/strong>This value aligns the flex items at the start of the cross-axis. In a row direction container, it aligns items to the top. In a column direction container, it aligns items to the left.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>flex-end :<\/strong> This value aligns the flex items at the end of the cross-axis. In a row direction container, it aligns items to the bottom. In a column direction container, it aligns items to the right.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>center :<\/strong> This value centers the flex items along the cross-axis.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>baseline :<\/strong> This value aligns the flex items such that their baselines are aligned. Baselines are used for aligning text and inline elements within the flex container.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>The align-items property affects all flex items within a flex container. If you want to control the alignment of a specific item within the container, you can use the align-self property on that individual item.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n      &lt;style&gt;\n\t\t#flex-box1\n\t\t{\n\t\t\twidth: 250px;\n  \t\t\theight: 250px;\n\t\t        border: 1px solid black; \n  \t\t\tdisplay: flex;\n    \t\t\talign-items:flex-start;\n\t\t}\n\t\t#flex-box1 div\n\t\t{\n\t\t\tflex:1;\n  \t\t\tborder: 1px solid black;\n  \t\t\tdisplay: flex;\n\t\t\talign-items:center;\n\t\t}\n\t\t#flex-box2\n\t\t{\n\t\t\twidth: 250px;\n  \t\t\theight: 250px;\n\t\t        border: 1px solid black; \n  \t\t\tdisplay: flex;\n    \t\t\talign-items:flex-end;\n\t\t}\n\t\t#flex-box2 div\n\t\t{\n\t\t\tflex:1;\n  \t\t\tborder: 1px solid black;\n  \t\t\tdisplay: flex;\n\t\t\talign-items:center;\n\t\t}\n\t\t#flex-box3\n\t\t{\n\t\t\twidth: 250px;\n  \t\t\theight: 250px;\n\t\t        border: 1px solid black; \n  \t\t\tdisplay: flex;\n    \t\t\talign-items:center;\n\t\t}\n\t\t#flex-box3 div\n\t\t{\n\t\t\tflex:1;\n  \t\t\tborder: 1px solid black;\n  \t\t\tdisplay: flex;\n\t\t\talign-items:center;\n\t\t}\n\t\t#flex-box4\n\t\t{\n\t\t\twidth: 250px;\n  \t\t\theight: 250px;\n\t\t        border: 1px solid black; \n  \t\t\tdisplay: flex;\n    \t\t\talign-items:stretch;\n\t\t}\n\t\t#flex-box4 div\n\t\t{\n\t\t\tflex:1;\n  \t\t\tborder: 1px solid black;\n  \t\t\tdisplay: flex;\n\t\t\talign-items:center;\n\t\t}\n\t\t#flex-box5\n\t\t{\n\t\t\twidth: 250px;\n  \t\t\theight: 2500px;\n\t\t        border: 1px solid black; \n  \t\t\tdisplay: flex;\n    \t\t\talign-items:baseline;\n\t\t}\n\t\t#flex-box5 div\n\t\t{\n\t\t\tflex:1;\n  \t\t\tborder: 1px solid black;\n  \t\t\tdisplay: flex;\n\t\t\talign-items:center;\n\t\t}\n      &lt;\/style&gt;\n   &lt;\/head&gt;\n   &lt;body&gt;\n\t&lt;p&gt;Item alignment - Flex start&lt;\/p&gt;\n\t&lt;div id='flex-box1'&gt;\n\t\t&lt;div style='background-color:cyan;min-height:30px;'&gt;CSS&lt;\/div&gt;\n\t\t&lt;div style='background-color:pink;min-height:70px;'&gt;HTML&lt;\/div&gt;\n\t\t&lt;div style='background-color:lightblue;min-height:100px;'&gt;JavaScript&lt;\/div&gt;\n\t&lt;\/div&gt;\n\t&lt;p&gt;Item alignment - Flex end&lt;\/p&gt;\n\t&lt;div id='flex-box2'&gt;\n\t\t&lt;div style='background-color:cyan;min-height:30px;'&gt;CSS&lt;\/div&gt;\n\t\t&lt;div style='background-color:pink;min-height:70px;'&gt;HTML&lt;\/div&gt;\n\t\t&lt;div style='background-color:lightblue;min-height:100px;'&gt;JavaScript&lt;\/div&gt;\n\t&lt;\/div&gt;\n\t&lt;p&gt;Item alignment - center&lt;\/p&gt;\n\t&lt;div id='flex-box3'&gt;\n\t\t&lt;div style='background-color:cyan;min-height:30px;'&gt;CSS&lt;\/div&gt;\n\t\t&lt;div style='background-color:pink;min-height:70px;'&gt;HTML&lt;\/div&gt;\n\t\t&lt;div style='background-color:lightblue;min-height:100px;'&gt;JavaScript&lt;\/div&gt;\n\t&lt;\/div&gt;\n\t&lt;p&gt;Item alignment - stretch&lt;\/p&gt;\n\t&lt;div id='flex-box4'&gt;\n\t\t&lt;div style='background-color:cyan;min-height:30px;'&gt;CSS&lt;\/div&gt;\n\t\t&lt;div style='background-color:pink;min-height:70px;'&gt;HTML&lt;\/div&gt;\n\t\t&lt;div style='background-color:lightblue;min-height:100px;'&gt;JavaScript&lt;\/div&gt;\n\t&lt;\/div&gt;\n\t&lt;p&gt;Item alignment - baseline&lt;\/p&gt;\n\t&lt;div id='flex-box5'&gt;\n\t\t&lt;div style='background-color:cyan;min-height:30px;'&gt;CSS&lt;\/div&gt;\n\t\t&lt;div style='background-color:pink;min-height:70px;'&gt;HTML&lt;\/div&gt;\n\t\t&lt;div style='background-color:lightblue;min-height:100px;'&gt;JavaScript&lt;\/div&gt;\n\t&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>align-content Property<\/strong> : It is used to control the alignment of flex items along the cross-axis (vertical axis) within a flex container. This property is applied to a flex container element and affects the positioning of multiple rows of flex items when they don\u2019t fill up the entire cross-axis space.<\/li>\n\n\n\n<li>This property has several possible values:\n<ul class=\"wp-block-list\">\n<li><strong>flex-start : <\/strong>This value aligns the flex items to the start of the cross-axis of the container. It creates space at the end if the items don\u2019t fill the entire cross-axis.<\/li>\n\n\n\n<li><strong>flex-end : <\/strong>This value aligns the flex items to the end of the cross-axis of the container. It creates space at the start if the items don\u2019t fill the entire cross-axis.<\/li>\n\n\n\n<li><strong>center : <\/strong>This value centers the flex items along the cross-axis of the container.<\/li>\n\n\n\n<li><strong>space-between : <\/strong>This value evenly distributes the flex items along the cross-axis. The first item aligns with the start, and the last item aligns with the end, with equal spacing between the items.<\/li>\n\n\n\n<li><strong>space-around : <\/strong>This value evenly distributes the flex items along the cross-axis with equal spacing on both sides of each item.<\/li>\n\n\n\n<li><strong>space-evenly : <\/strong>This value evenly distributes the flex items along the cross-axis with equal spacing between and around the items.<\/li>\n\n\n\n<li><strong>stretch : <\/strong>This value stretches the flex items to fill the entire cross-axis of the container.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>This property becomes relevant when there are multiple rows of flex items within a flex container. If there\u2019s only one row of items or the items occupy the entire cross-axis space, the property\u2019s value might not have a noticeable effect.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\n#fb1 {\n  background-color:white;\n  width: 100%;\n  height: 300px;\n  display: flex;\n  flex-wrap: wrap;\n  align-content:flex-start;\n  border:1px solid;\n}\n#fb1 div {\n  width: 100%;\n  height: 40px; \n}\n#fb2 {\n  background-color:white;\n  width: 100%;\n  height: 300px;\n  display: flex;\n  flex-wrap: wrap;\n  align-content:flex-end;\n  border:1px solid;\n}\n#fb2 div {\n  width: 100%;\n  height: 40px; \n}\n#fb3 {\n  background-color:white;\n  width: 100%;\n  height: 300px;\n  display: flex;\n  flex-wrap: wrap;\n  align-content:center;\n  border:1px solid;\n}\n#fb3 div {\n  width: 100%;\n  height: 40px; \n}\n#fb4 {\n  background-color:white;\n  width: 100%;\n  height: 300px;\n  display: flex;\n  flex-wrap: wrap;\n  align-content:space-between;\n  border:1px solid;\n}\n#fb4 div {\n  width: 100%;\n  height: 40px; \n}\n#fb5 {\n  background-color:white;\n  width: 100%;\n  height: 300px;\n  display: flex;\n  flex-wrap: wrap;\n  align-content:space-around;\n  border:1px solid;\n}\n#fb5 div {\n  width: 100%;\n  height: 40px; \n}\n#fb6 {\n  background-color:white;\n  width: 100%;\n  height: 300px;\n  display: flex;\n  flex-wrap: wrap;\n  align-content:space-evenly;\n  border:1px solid;\n}\n#fb6 div {\n  width: 100%;\n  height: 40px; \n}\n#fb7 {\n  background-color:white;\n  width: 100%;\n  height: 300px;\n  display: flex;\n  flex-wrap: wrap;\n  align-content:stretch;\n  border:1px solid;\n}\n#fb7 div {\n  width: 100%;\n  height: 40px; \n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p&gt;Content Alignment - Flex start &lt;\/h1&gt;\n&lt;div id=\"fb1\"&gt;\n  &lt;div style=\"background-color:cyan;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:lightblue;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:pink;\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;p&gt;Content Alignment - Flex end &lt;\/h1&gt;\n&lt;div id=\"fb2\"&gt;\n  &lt;div style=\"background-color:cyan;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:lightblue;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:pink;\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;p&gt;Content Alignment - Center &lt;\/h1&gt;\n&lt;div id=\"fb3\"&gt;\n  &lt;div style=\"background-color:cyan;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:lightblue;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:pink;\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;p&gt;Content Alignment - Space Between &lt;\/h1&gt;\n&lt;div id=\"fb4\"&gt;\n  &lt;div style=\"background-color:cyan;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:lightblue;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:pink;\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;p&gt;Content Alignment - Space Around &lt;\/h1&gt;\n&lt;div id=\"fb5\"&gt;\n  &lt;div style=\"background-color:cyan;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:lightblue;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:pink;\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;p&gt;Content Alignment - Space Evenly &lt;\/h1&gt;\n&lt;div id=\"fb6\"&gt;\n  &lt;div style=\"background-color:cyan;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:lightblue;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:pink;\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;p&gt;Content Alignment - Stretch &lt;\/h1&gt;\n&lt;div id=\"fb7\"&gt;\n  &lt;div style=\"background-color:cyan;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:lightblue;\"&gt;&lt;\/div&gt;\n  &lt;div style=\"background-color:pink;\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>Row-Gap Property : <\/strong>This is used to set the spacing (gap) between rows within the flex items in flex container. This property specifies the size of the vertical gap between adjacent rows.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Column-gap Property : <\/strong>This property is used to set the spacing (gap) between columns within the flex items in flex container. It allows you to control the horizontal spacing between columns.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Gap Property : <\/strong>This property is used to set the spacing (gap) between rows and columns within the flex items in flex container. It allows you to control the vertical and horizontal spacing as well.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\/* Row - Gap property *\/\n\t\t\t#rgap\n\t\t\t{\n\t\t\t\tdisplay:flex;\n\t\t\t\tborder:1px solid;\n\t\t\t\tbackground-color:beige;\n\t\t\t\tflex-wrap:wrap;\n\t\t\t\trow-gap:20px;\n\t\t\t}\n\t\t\t#rgap div\n\t\t\t{\n\t\t\t\tpadding:30px;\n\t\t\t\twidth:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid blue;\n\t\t\t}\n\t\t\t\/* Column - Gap property *\/\n\t\t\t#cgap\n\t\t\t{\n\t\t\t\tdisplay:flex;\n\t\t\t\tborder:1px solid;\n\t\t\t\tbackground-color:beige;\n\t\t\t\tflex-wrap:wrap;\n\t\t\t\tcolumn-gap:20px;\n\t\t\t}\n\t\t\t#cgap div\n\t\t\t{\n\t\t\t\tpadding:30px;\n\t\t\t\twidth:50px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid blue;\n\t\t\t}\n\t\t\t\/* Gap property *\/\n\t\t\t#gap\n\t\t\t{\n\t\t\t\tdisplay:flex;\n\t\t\t\tborder:1px solid;\n\t\t\t\tbackground-color:beige;\n\t\t\t\tflex-wrap:wrap;\n\t\t\t\tgap:10px 50px;\/* row column *\/\n\t\t\t}\n\t\t\t#gap div\n\t\t\t{\n\t\t\t\tpadding:30px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t\tborder:1px solid blue;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt;Row Gap&lt;\/p&gt;\n\t\t&lt;div id=rgap&gt;\n\t\t\t&lt;div&gt;1&lt;\/div&gt;\n\t\t\t&lt;div&gt;2&lt;\/div&gt;\n\t\t\t&lt;div&gt;3&lt;\/div&gt;\n\t\t\t&lt;div&gt;4&lt;\/div&gt;\n\t\t\t&lt;div&gt;5&lt;\/div&gt;\n\t\t\t&lt;div&gt;6&lt;\/div&gt;\n\t\t\t&lt;div&gt;7&lt;\/div&gt;\n\t\t\t&lt;div&gt;8&lt;\/div&gt;\n\t\t\t&lt;div&gt;9&lt;\/div&gt;\n\t\t\t&lt;div&gt;10&lt;\/div&gt;\n\t\t\t&lt;div&gt;11&lt;\/div&gt;\n\t\t\t&lt;div&gt;12&lt;\/div&gt;\n\t\t\t&lt;div&gt;13&lt;\/div&gt;\n\t\t\t&lt;div&gt;14&lt;\/div&gt;\n\t\t\t&lt;div&gt;15&lt;\/div&gt;\n\t\t\t&lt;div&gt;16&lt;\/div&gt;\n\t\t\t&lt;div&gt;17&lt;\/div&gt;\n\t\t\t&lt;div&gt;18&lt;\/div&gt;\n\t\t\t&lt;div&gt;19&lt;\/div&gt;\n\t\t\t&lt;div&gt;20&lt;\/div&gt;\n\t\t\t&lt;div&gt;21&lt;\/div&gt;\n\t\t\t&lt;div&gt;22&lt;\/div&gt;\n\t\t\t&lt;div&gt;23&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;p&gt;Column Gap&lt;\/p&gt;\n\t\t&lt;div id=cgap&gt;\n\t\t\t&lt;div&gt;1&lt;\/div&gt;\n\t\t\t&lt;div&gt;2&lt;\/div&gt;\n\t\t\t&lt;div&gt;3&lt;\/div&gt;\n\t\t\t&lt;div&gt;4&lt;\/div&gt;\n\t\t\t&lt;div&gt;5&lt;\/div&gt;\n\t\t\t&lt;div&gt;6&lt;\/div&gt;\n\t\t\t&lt;div&gt;7&lt;\/div&gt;\n\t\t\t&lt;div&gt;8&lt;\/div&gt;\n\t\t\t&lt;div&gt;9&lt;\/div&gt;\n\t\t\t&lt;div&gt;10&lt;\/div&gt;\n\t\t\t&lt;div&gt;11&lt;\/div&gt;\n\t\t\t&lt;div&gt;12&lt;\/div&gt;\n\t\t\t&lt;div&gt;13&lt;\/div&gt;\n\t\t\t&lt;div&gt;14&lt;\/div&gt;\n\t\t\t&lt;div&gt;15&lt;\/div&gt;\n\t\t\t&lt;div&gt;16&lt;\/div&gt;\n\t\t\t&lt;div&gt;17&lt;\/div&gt;\n\t\t\t&lt;div&gt;18&lt;\/div&gt;\n\t\t\t&lt;div&gt;19&lt;\/div&gt;\n\t\t\t&lt;div&gt;20&lt;\/div&gt;\n\t\t\t&lt;div&gt;21&lt;\/div&gt;\n\t\t\t&lt;div&gt;22&lt;\/div&gt;\n\t\t\t&lt;div&gt;23&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;p&gt;Gap - Both Row and Column&lt;\/p&gt;\n\t\t&lt;div id=gap&gt;\n\t\t\t&lt;div&gt;1&lt;\/div&gt;\n\t\t\t&lt;div&gt;2&lt;\/div&gt;\n\t\t\t&lt;div&gt;3&lt;\/div&gt;\n\t\t\t&lt;div&gt;4&lt;\/div&gt;\n\t\t\t&lt;div&gt;5&lt;\/div&gt;\n\t\t\t&lt;div&gt;6&lt;\/div&gt;\n\t\t\t&lt;div&gt;7&lt;\/div&gt;\n\t\t\t&lt;div&gt;8&lt;\/div&gt;\n\t\t\t&lt;div&gt;9&lt;\/div&gt;\n\t\t\t&lt;div&gt;10&lt;\/div&gt;\n\t\t\t&lt;div&gt;11&lt;\/div&gt;\n\t\t\t&lt;div&gt;12&lt;\/div&gt;\n\t\t\t&lt;div&gt;13&lt;\/div&gt;\n\t\t\t&lt;div&gt;14&lt;\/div&gt;\n\t\t\t&lt;div&gt;15&lt;\/div&gt;\n\t\t\t&lt;div&gt;16&lt;\/div&gt;\n\t\t\t&lt;div&gt;17&lt;\/div&gt;\n\t\t\t&lt;div&gt;18&lt;\/div&gt;\n\t\t\t&lt;div&gt;19&lt;\/div&gt;\n\t\t\t&lt;div&gt;20&lt;\/div&gt;\n\t\t\t&lt;div&gt;21&lt;\/div&gt;\n\t\t\t&lt;div&gt;22&lt;\/div&gt;\n\t\t\t&lt;div&gt;23&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Overflow_Property\"><\/span><strong>Overflow Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This property in CSS is used to control what happens when the content of an element overflows its designated area. <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It specifies how the content that exceeds the dimensions of an element should be displayed. <\/li>\n\n\n\n<li>This property is commonly used with block-level elements, such as &lt;div&gt; elements, where the content might extend beyond the element\u2019s visible area.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">This property can have following values:<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list has-medium-font-size\">\n<li><strong>visible:<\/strong> This is the default value. Content that overflows the element\u2019s boundaries will be displayed outside the element\u2019s box, potentially overlapping with surrounding content.<\/li>\n\n\n\n<li><strong>hidden:<\/strong> Content that overflows will be clipped and not displayed. It will be hidden from view.<\/li>\n\n\n\n<li><strong>scroll:<\/strong> Scrollbars will be added to the element, allowing users to scroll and see the hidden content. Even if there\u2019s no overflow, scrollbars may still appear but in a disabled state.<\/li>\n\n\n\n<li><strong>auto:<\/strong> Scrollbars will be added only if the content overflows. If there\u2019s no overflow, no scrollbars will be displayed.<\/li>\n\n\n\n<li><strong>clip:<\/strong> The rest of the text will be hidden because the overflow is clipped. It does not allow scrolling, not even programmable scrolling.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\tbody\n\t\t\t{\n\t\t\t\tbackground-color:beige;\n\t\t\t}\n\t\t\t#d_auto\n\t\t\t{\n\t\t\t\theight:150px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t}\n\t\t\t.c_auto\n\t\t\t{\n\t\t\t\tbackground-color:white;\n\t\t\t\twidth: 150px;\n\t\t\t\theight: 100px;\n\t\t\t\toverflow:auto;\n\t\t\t}\n\t\t\t#d_visibile\n\t\t\t{\n\t\t\t\theight:150px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t}\n\t\t\t.c_visible\n\t\t\t{\n\t\t\t\tbackground-color:white;\n\t\t\t\twidth: 150px;\n\t\t\t\theight: 100px;\n\t\t\t\toverflow:visible;\n\t\t\t}\n\t\t\t#d_hidden\n\t\t\t{\n\t\t\t\theight:150px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t}\n\t\t\t.c_hidden\n\t\t\t{\n\t\t\t\tbackground-color:white;\n\t\t\t\twidth: 150px;\n\t\t\t\theight: 100px;\n\t\t\t\toverflow:hidden;\n\t\t\t}\n\t\t\t#d_clip\n\t\t\t{\n\t\t\t\theight:150px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t}\n\t\t\t.c_clip\n\t\t\t{\n\t\t\t\tbackground-color:white;\n\t\t\t\twidth: 150px;\n\t\t\t\theight: 100px;\n\t\t\t\toverflow:clip;\n\t\t\t}\n\t\t\t#d_scroll\n\t\t\t{\n\t\t\t\theight:150px;\n\t\t\t\tbackground-color:lightblue;\n\t\t\t}\n\t\t\t.c_scroll\t\t\t\n\t\t\t{\n\t\t\t\tbackground-color:white;\n\t\t\t\twidth: 150px;\n\t\t\t\theight: 100px;\n\t\t\t\toverflow:scroll;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;P&gt;This is overflow property :auto &lt;\/p&gt;\n\t\t&lt;div id=\"d_auto\"&gt;\n\t\t\t&lt;div class='c_auto'&gt;Hi This is Swati From HJDOSHI Jamnagar.\n\t\t\tGreetings of the Day to all.\n\t\t\tIf this content does not fit in given box, then it will create scrollbar.\n\t\t\t&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;P&gt;This is overflow property : visible &lt;\/p&gt;\n\t\t&lt;div id=\"d_visibile\"&gt;\n\t\t\t&lt;div class='c_visible'&gt;Hi This is Swati From HJDOSHI Jamnagar.\n\t\t\tGreetings of the Day to all.\n\t\t\tThis content shows outside the element's box.\n\t\t\tThis is default one.\n\t\t\t&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;P&gt;This is overflow property : hidden &lt;\/p&gt;\n\t\t&lt;div id=\"d_hidden\"&gt;\n\t\t\t&lt;div class='c_hidden'&gt;Hi This is Swati From HJDOSHI Jamnagar.\n\t\t\tGreetings of the Day to all.\n\t\t\tIf this content is too lont to fit in, it will be hidden.\n\t\t\t&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;P&gt;This is overflow property : clip &lt;\/p&gt;\n\t\t&lt;div id=\"d_clip\"&gt;\n\t\t\t&lt;div class='c_clip'&gt;Hi This is Swati From HJDOSHI Jamnagar.\n\t\t\tGreetings of the Day to all.\n\t\t\tIf this content is too lont to fit in, it will be clipped.\n\t\t\t&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;P&gt;This is overflow property : scroll &lt;\/p&gt;\n\t\t&lt;div id=\"d_scroll\"&gt;\n\t\t\t&lt;div class='c_scroll'&gt;Hi This is Swati From HJDOSHI Jamnagar.\n\t\t\tGreetings of the Day to all.\n\t\t\tIf this content is too lont to fit in, it will give you \n\t\t\ta scrollbar.\n\t\t\t&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"text-overflow_Property\"><\/span><strong>text-overflow Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This property in CSS is used to control how overflowing text content is displayed within a container when it exceeds its available space. It\u2019s commonly used with elements that have a limited width or height, such as containers with fixed dimensions or single-line text elements.<\/li>\n\n\n\n<li>When text overflows its container, the default behavior is for it to be clipped or truncated, meaning that only the portion of text that fits within the container is visible, and the rest is hidden. The text-overflow property allows you to customize this behavior. Here\u2019s how it works:<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">The text-overflow property can have the following values:<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">clip : This is the default value. It causes the text to be clipped when it overflows the container, and any overflow beyond the container\u2019s boundaries is hidden.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">ellipsis : This value adds an ellipsis (\u201c\u2026\u201d) at the end of the text if it overflows the container. This is a common way to indicate to users that there\u2019s more content that\u2019s not fully visible.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt; \n\t\t\t#a \n\t\t\t{\n\t\t\t\twidth: 100px; \n\t\t\t\tborder: 1px solid;\n\t\t\t\toverflow: hidden;\n\t\t\t\twhite-space:nowrap;\n\t\t\t\ttext-overflow:clip;\n\t\t\t}\n                        #a:hover\n                        {\n                               overflow:visible;\n                               color:red;\n                        }\n\t\t\t#b \n\t\t\t{\n\t\t\t\twidth: 100px; \n\t\t\t\tborder: 1px solid;\n\t\t\t\toverflow: hidden;\n\t\t\t\twhite-space:nowrap;\n\t\t\t\ttext-overflow:ellipsis;\n\t\t\t}\n                        #b:hover\n                        {\n                               overflow:visible;\n                               color:red;\n                        }\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;p&gt; text-overflow : clip &lt;\/p&gt;\n\t\t&lt;p&gt;Hover over the div below, to see the entire text.&lt;\/p&gt;\n\t\t&lt;div id=\"a\"&gt;This is HJDOSHI that will not fit in the box.&lt;\/div&gt;\n\t\t\n\t\t&lt;p&gt; text-overflow : ellipsis &lt;\/p&gt;\n\t\t&lt;p&gt;Hover over the div below, to see the entire text.&lt;\/p&gt;\n\t\t&lt;div id=\"b\"&gt;This is HJDOSHI that will not fit in the box.&lt;\/div&gt;\t\t\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Cursor_Property\"><\/span><strong>Cursor Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This property is used to control the appearance of the mouse cursor when it hovers over an element on a web page. <\/li>\n\n\n\n<li>It allows you to define the visual feedback that users get when they interact with different parts of your webpage, indicating the type of action they can perform.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">The cursor property accepts various values, each representing a different type of cursor. Here are some common values:<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list has-medium-font-size\">\n<li><strong>auto<\/strong>: This is the default value. The browser determines the appropriate cursor based on the context, such as links or text.<\/li>\n\n\n\n<li><strong>pointer<\/strong>: This value displays a hand cursor, indicating that the element is clickable, like a link or a button.<\/li>\n\n\n\n<li><strong>default<\/strong>: This value displays the standard arrow cursor, indicating a default state.<\/li>\n\n\n\n<li><strong>text<\/strong>: The I-beam cursor appears, indicating that the text can be selected or edited, like in input fields or text areas.<\/li>\n\n\n\n<li><strong>move<\/strong>: The cursor changes to a four-sided arrow, indicating that the element can be dragged\/moved.<\/li>\n\n\n\n<li><strong>crosshair<\/strong>: The cursor turns into a crosshair, often used to indicate an area that can be selected.<\/li>\n\n\n\n<li><strong>not-allowed<\/strong>: The cursor becomes a circle with a slash through it, indicating that the specified action is not allowed or not supported.<\/li>\n\n\n\n<li><strong>wait<\/strong>: The cursor turns into a spinning circle or hourglass, indicating that the user should wait, typically used during loading processes.<\/li>\n\n\n\n<li><strong>help<\/strong>: The cursor becomes a question mark, indicating that the user can get help or information about the element.<\/li>\n\n\n\n<li><strong>e-resize, w-resize, n-resize, s-resize<\/strong>: These values indicate that the cursor will change when hovering over the edges of an element, showing the direction in which the element can be resized.<\/li>\n\n\n\n<li><strong>zoom-in:<\/strong> The cursor suggests the potential for zooming in on something.<\/li>\n\n\n\n<li><strong>zoom-out:<\/strong> The cursor implies the possibility of zooming out on something.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t.button \n\t\t\t{\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t.draggable \n\t\t\t{\n\t\t\t\tcursor: move;\n\t\t\t}\n\t\t\t.disabled \n\t\t\t{\n\t\t\t\tcursor: not-allowed;\n\t\t\t}\n\t\t\t.help \n\t\t\t{\n\t\t\t\tcursor: help;\n\t\t\t}\n\t\t\t.auto \n\t\t\t{\n\t\t\t\tcursor: auto;\n\t\t\t}\n\t\t\t.default \n\t\t\t{\n\t\t\t\tcursor: default;\n\t\t\t}\n\t\t\t.text \n\t\t\t{\n\t\t\t\tcursor: text;\n\t\t\t}\n\t\t\t.crosshair\n\t\t\t{\n\t\t\t\tcursor: crosshair;\n\t\t\t}\n\t\t\t.wait\n\t\t\t{\n\t\t\t\tcursor: wait;\n\t\t\t}\n\t\t\t.e-resize\n\t\t\t{\n\t\t\t\tcursor: e-resize;\n\t\t\t}\n\t\t\t.w-resize\n\t\t\t{\n\t\t\t\tcursor: w-resize;\n\t\t\t}\n\t\t\t.n-resize\n\t\t\t{\n\t\t\t\tcursor: n-resize;\n\t\t\t}\n\t\t\t.s-resize\n\t\t\t{\n\t\t\t\tcursor: s-resize;\n\t\t\t}\n\t\t\t.zin\n\t\t\t{\n\t\t\t\tcursor: zoom-in;\n\t\t\t}\n\t\t\t.zout\n\t\t\t{\n\t\t\t\tcursor: zoom-out;\n\t\t\t}\n\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n\t&lt;p class=\"button\"&gt;This is pointer&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"draggable\"&gt;This is draggable&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"disabled\"&gt;Disabled is here&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"help\"&gt;Help is here&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"auto\"&gt;This is auto&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"default\"&gt;This is default&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"text\"&gt;This is text&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"crosshair\"&gt;This is Crosshair&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"wait\"&gt;This is wait&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"e-resize\"&gt;This is eastern resize&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"w-resize\"&gt;This is western resize&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"n-resize\"&gt;This is northern resize&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"s-resize\"&gt;This is southern resize&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"zin\"&gt;This is Zoom in&lt;\/p&gt;&lt;br&gt;\n\t&lt;p class=\"zout\"&gt;This is Zoom out&lt;\/p&gt;&lt;br&gt;\n&lt;\/body&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Visibility_Property\"><\/span><strong>Visibility Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li class=\"has-medium-font-size\">This property in CSS controls the visibility of an element on a web page. It has two main values: visible and hidden.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">visible: This is the default value. When an element\u2019s visibility is set to visible, the element is displayed on the web page as usual. It\u2019s visible to the user and takes up space within the layout.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">hidden: When an element\u2019s visibility is set to hidden, the element becomes invisible, but it still occupies space in the layout. In other words, it\u2019s as if the element is there, but it\u2019s just not visible to the user. It won\u2019t be displayed, but it will affect the positioning of other elements around it as if it were visible.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">collapse: This particular value is exclusively employed for elements like table rows (&lt;tr&gt;), row groups (&lt;tbody&gt;), columns (&lt;col&gt;), and column groups (&lt;colgroup&gt;). It eliminates a row or column without impacting the overall table arrangement. The area previously occupied by the row or column becomes vacant, allowing for other content to occupy that space.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t#a_visible \n\t\t\t{\n\t\t\t\tvisibility: visible;\n\t\t\t}\n\t\t\t#b_hide\n\t\t\t{\n\t\t\t\tvisibility: hidden;\n\t\t\t}\n\t\t\ttable,td\n\t\t\t{\n\t\t\t\tborder:1px solid;\n\t\t\t}\n\t\t\ttr.t_collapse\n\t\t\t{\n\t\t\t\tvisibility:collapse;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;P&gt;The visibility Property&lt;\/P&gt;\n\t\t&lt;p id=\"a_visible\"&gt;This paragraph is visible.&lt;\/p&gt;\n\t\t&lt;p id=\"b_hide\"&gt;This is hidden&lt;\/p&gt;\n\t\t&lt;p&gt;This is second paragraph&lt;\/p&gt;\n\t\t&lt;P&gt;Following table has two rows, second row is collapse&lt;\/p&gt;\n\t\t&lt;table&gt;\n\t\t\t&lt;tr&gt;\n\t\t\t\t&lt;td&gt;HTML&lt;\/td&gt;\n\t\t\t\t&lt;td&gt;CSS&lt;\/td&gt;\n\t\t\t&lt;\/tr&gt;\n\t\t\t&lt;tr class='t_collapse'&gt;\n\t\t\t\t&lt;td&gt;C language&lt;\/td&gt;\n\t\t\t\t&lt;td&gt;CF&lt;\/td&gt;\n\t\t\t&lt;\/tr&gt;\n\t\t&lt;\/table&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"filter_Property\"><\/span><strong>filter Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>This property in CSS is used to apply visual effects (such as blurring, grayscale, brightness adjustment, etc.) to elements on a web page. <\/li>\n\n\n\n<li>It works by processing the element\u2019s content and altering its appearance based on the specified filter functions.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>The filter property accepts one or more filter functions, which are separated by spaces. Each filter function performs a specific visual effect on the element. <\/li>\n\n\n\n<li>Here are some common filter functions:<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list has-medium-font-size\">\n<li><strong>blur() :<\/strong> Applies a blur effect to the element, creating a blurred appearance. The higher the value passed to the function, the more pronounced the blur effect.<\/li>\n\n\n\n<li><strong>brightness() :<\/strong> Adjusts the brightness of the element\u2019s content. A value of 1 means no change, values less than 1 darken the content, and values greater than 1 brighten the content.<\/li>\n\n\n\n<li><strong>contrast() :<\/strong> Adjusts the contrast of the element\u2019s content. A value of 1 means no change, values less than 1 decrease the contrast, and values greater than 1 increase the contrast.<\/li>\n\n\n\n<li><strong>grayscale() :<\/strong> Converts the element\u2019s content to grayscale, removing color information.<\/li>\n\n\n\n<li><strong>sepia() :<\/strong> Applies a sepia tone effect to the element\u2019s content, giving it an aged, brownish appearance.<\/li>\n\n\n\n<li><strong>saturate() :<\/strong> Adjusts the saturation of the element\u2019s content. A value of 1 means no change, values less than 1 desaturate the content, and values greater than 1 saturate the content.<\/li>\n\n\n\n<li><strong>hue-rotate() :<\/strong> Rotates the hue of the element\u2019s content. The angle passed to the function determines the degree of rotation.<\/li>\n\n\n\n<li><strong>invert() :<\/strong> Inverts the colors of the element\u2019s content. A value of 0 means no change, and a value of 1 completely inverts the colors.<\/li>\n\n\n\n<li><strong>opacity() :<\/strong> Adjusts the opacity of the element\u2019s content. A value of 1 means no change, and values between 0 and 1 make the content more or less transparent.<\/li>\n\n\n\n<li><strong>drop-shadow() :<\/strong> Applies a drop shadow effect to the element. It takes parameters for horizontal and vertical offset, blur radius, and shadow color.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\nbody \n{\n  background-color:beige;\n}\n#div_img \n{\n  height:300px;\n  background-color:white;\n}\n#img1 \n{ \n  filter:blur(5px);\n}\n#img2\n{ \n  filter:brightness(150%);\n}\n#img3\n{ \n  filter:contrast(200%);\n}\n#img4\n{ \n  filter:grayscale(100%);\n}\n#img5\n{ \n  filter:sepia(100%);\n}\n#img6\n{ \n  filter:saturate(9);\n}\n#img7\n{ \n  filter:hue-rotate(180deg);\n}\n#img8\n{ \n  filter:invert(100%);\n}\n#img9\n{ \n  filter:opacity(40%);\n}\n#img10\n{ \n  filter:drop-shadow(8px 8px 10px black);\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n\t&lt;div id=\"div_img\"&gt;\n\t&lt;p&gt;The filter property : blur&lt;\/p&gt;\n\t&lt;img id=\"img1\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : brightness&lt;\/p&gt;\n\t&lt;img id=\"img2\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : contrast &lt;\/p&gt;\n\t&lt;img id=\"img3\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : grayscale &lt;\/p&gt;\n\t&lt;img id=\"img4\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : sepia &lt;\/p&gt;\n\t&lt;img id=\"img5\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : saturate&lt;\/p&gt;\n\t&lt;img id=\"img6\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : hue-rotate&lt;\/p&gt;\n\t&lt;img id=\"img7\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property :invert &lt;\/p&gt;\n\t&lt;img id=\"img8\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : opacity&lt;\/p&gt;\n\t&lt;img id=\"img9\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;\n\t&lt;p&gt;The filter property : drop-shadow&lt;\/p&gt;\n\t&lt;img id=\"img10\" src=\"color.jpg\" width=\"300\" height=\"300\"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;\n&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"backdrop-filter_Property\"><\/span><strong>backdrop-filter Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li class=\"has-medium-font-size\">This property is used to apply a filter effect to the area behind an element. <\/li>\n\n\n\n<li class=\"has-medium-font-size\">It allows you to create various visual effects, such as blurring or applying color adjustments to the background of an element, while keeping the content inside the element itself unaffected. Values for this property include:\n<ul class=\"wp-block-list has-medium-font-size\">\n<li class=\"has-medium-font-size\"><strong>blur(): <\/strong>Applies a blur effect to the background.<\/li>\n\n\n\n<li><strong>brightness():<\/strong> Adjusts the brightness of the background.<\/li>\n\n\n\n<li><strong>contrast(): <\/strong>Adjusts the contrast of the background.<\/li>\n\n\n\n<li><strong>grayscale():<\/strong> Converts the background to grayscale.<\/li>\n\n\n\n<li><strong>sepia(): <\/strong>Applies a sepia tone effect to the background.<\/li>\n\n\n\n<li><strong>saturate(): <\/strong>Adjusts the saturation of the background.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>All the values of properties are same as given in previous property explanation.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\tbody \n\t\t\t{\n\t\t\t\tbackground-image: url('color.jpg'); \n\t\t\t\tbackground-size:cover;\n\t\t\t\tbackground-position:center;\n\t\t\t\theight:600px;\n\t\t\t\tdisplay:flex;\n\t\t\t\tjustify-content: center;\n\t\t\t\talign-items: center;\n\t\t\t}\n\t\t\t.container \n\t\t\t{\n\t\t\t\tpadding: 20px;\n\t\t\t\tborder-radius: 10px;\n\t\t\t\t\/* Apply a blur effect to the background *\/\n\t\t\t\tbackdrop-filter: blur(10px); \n\t\t\t}\n\t\t\t.content \n\t\t\t{\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t\th1 \n\t\t\t{\n\t\t\t\tfont-size: 24px;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\tp \n\t\t\t{\n\t\t\t\tfont-size: 16px;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div class=\"container\"&gt;\n\t\t\t&lt;div class=\"content\"&gt;\n\t\t\t\t&lt;h1&gt;Blurred Background&lt;\/h1&gt;\n\t\t\t\t&lt;p&gt;This is some content inside the element.&lt;\/p&gt;\n\t\t\t&lt;\/div&gt;\n\t\t&lt;\/div&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"object-fit_Property\"><\/span><strong>object-fit Property<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used to control how an HTML element that displays an image or video (such as an &lt;img&gt; or &lt;video&gt; element) should behave in terms of its size and positioning within its container.<\/li>\n\n\n\n<li>It allows you to specify how the content should fit within the element\u2019s dimensions. The values of this property are :\n<ul class=\"wp-block-list\">\n<li><strong>fill: <\/strong>This is the default value. It scales the content to completely fill the container, possibly distorting the aspect ratio of the content to make it fit.<\/li>\n\n\n\n<li><strong>contain: <\/strong>Scales the content proportionally to fit entirely within the container without cropping or distorting. The content may have empty space inside the container if it doesn\u2019t have the same aspect ratio as the container.<\/li>\n\n\n\n<li><strong>cover: <\/strong>Scales the content proportionally to cover the entire container. This may result in cropping of the content if it doesn\u2019t have the same aspect ratio as the container.<\/li>\n\n\n\n<li><strong>none: <\/strong> The content is not resized or scaled. It retains its original size and may overflow the container if it\u2019s larger.<\/li>\n\n\n\n<li><strong>scale-down: <\/strong>Scales the content proportionally to fit within the container, but it won\u2019t enlarge the content if it\u2019s smaller than the container. It behaves like<strong> contain <\/strong>unless the content is smaller than the container, in which case it behaves like <code>none<\/code>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n\t&lt;head&gt;\n\t\t&lt;style&gt;\n\t\t\t.container1\n\t\t\t{\n\t\t\t\twidth: 300px;\n\t\t\t\theight: 200px;\n\t\t\t\tborder: 1px solid;\n\t\t\t}\n\t\t\t#im1 \n\t\t\t{\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tobject-fit: cover;\n\t\t\t}\n\t\t\t.container2\n\t\t\t{\n\t\t\t\twidth: 300px;\n\t\t\t\theight: 200px;\n\t\t\t\tborder: 1px solid;\n\t\t\t}\n\t\t\t#im2 \n\t\t\t{\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tobject-fit:fill;\n\t\t\t}\n\t\t\t.container3\n\t\t\t{\n\t\t\t\twidth: 300px;\n\t\t\t\theight: 200px;\n\t\t\t\tborder: 1px solid;\n\t\t\t}\n\t\t\t#im3 \n\t\t\t{\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tobject-fit: contain;\n\t\t\t}\n\t\t\t.container4\n\t\t\t{\n\t\t\t\twidth: 300px;\n\t\t\t\theight: 200px;\n\t\t\t\tborder: 1px solid;\n\t\t\t}\n\t\t\t#im4\n\t\t\t{\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tobject-fit:none;\n\t\t\t}\t\n\t\t\t.container5\n\t\t\t{\n\t\t\t\twidth: 300px;\n\t\t\t\theight: 200px;\n\t\t\t\tborder: 1px solid;\n\t\t\t}\n\t\t\t#im5\n\t\t\t{\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tobject-fit:scale-down;\n\t\t\t}\t\n\t\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n\t\t&lt;div class=\"container1\"&gt;\n\t\t\t&lt;img id='im1' src=\"color.jpg\"&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t\t&lt;div class=\"container2\"&gt;\n\t\t\t&lt;img id='im2' src=\"color.jpg\"&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t\t&lt;div class=\"container3\"&gt;\n\t\t\t&lt;img id='im3' src=\"color.jpg\"&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t\t&lt;div class=\"container4\"&gt;\n\t\t\t&lt;img id='im4' src=\"color.jpg\"&gt;\n\t\t&lt;\/div&gt;&lt;br&gt;\n\t\t&lt;div class=\"container5\"&gt;\n\t\t\t&lt;img id='im5' src=\"color.jpg\"&gt;\n\t\t&lt;\/div&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>CSS3 Border Property Example Output Border with radius for each side Example Output Border Radius Short hand property for all side CSS3 Background Property Example Contain scales the background image to be as large as possible (but both its width and its height must fit inside the content area). As such, depending on the proportions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"om_disable_all_campaigns":false,"footnotes":""},"class_list":["post-6126","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/6126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6126"}],"version-history":[{"count":5,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/6126\/revisions"}],"predecessor-version":[{"id":6288,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/6126\/revisions\/6288"}],"wp:attachment":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}