{"id":877,"date":"2017-08-07T08:17:48","date_gmt":"2017-08-07T08:17:48","guid":{"rendered":"http:\/\/webigg.com\/blog\/?p=877"},"modified":"2018-12-07T11:27:36","modified_gmt":"2018-12-07T11:27:36","slug":"cascading-style-sheets","status":"publish","type":"post","link":"https:\/\/www.webigg.com\/blog\/cascading-style-sheets\/","title":{"rendered":"Cascading Style Sheets"},"content":{"rendered":"<h4>CSS: THE VISUAL LANGUAGE OF THE WEB<\/h4>\n<p>The front end of a website is everything that a user sees and interacts with when they land on your site. Its core trio of technologies includes:<\/p>\n<ul>\n<li><strong>HTML markup<\/strong>, which dictates the organization, structure, and content of a site;<\/li>\n<li><strong>JavaScript<\/strong>, which gives everything on a page interactivity and animation; and<\/li>\n<li><strong>CSS (Cascading Style Sheets)<\/strong>, the style-sheet language designers use to give a site its look and feel.<\/li>\n<\/ul>\n<p>Everything visual about a website\u2014from background colors and navigation bars to fonts and text alignment\u2014is a product of CSS.<\/p>\n<h4>HOW CSS WORKS<\/h4>\n<p>CSS and HTML are the duo that gives a site its static structure and style. HTML defines\u00a0<em>what<\/em>\u00a0elements are on a page, while CSS defines how those HTML elements\u00a0<em>appear<\/em>. If HTML tags text as a page\u2019s &lt;header&gt;, CSS tells a computer how everything marked &lt;header&gt; on that website should appear, e.g., in bold, blue font.<\/p>\n<p>CSS and HTML naturally work together as the foundation of a site, but exist as totally separate files\u2014something that saves developers a lot of hassle. By storing a CSS file externally, developers can update design aspects for multiple pages at once without touching a site\u2019s HTML. An entire site\u2019s design can be edited in that one, external document. Attaching a CSS file to an HTML document is possible with a single HTML tag embedded into the site\u2019s code; they can be embedded, linked, imported, or added inline into HTML; each method has its own advantages.<\/p>\n<p>From there, every design element in that CSS file is globally applied to a site, allowing a programmer to define the look and format of multiple webpages at once. Imagine trying to code design individually for every page of a 1,000-page site, adding in the font and color code for every single page. CSS streamlines this process down to one, externally linked, layered file.<\/p>\n<h3>\u201cCASCADING\u201d CREATES EFFICIENCY<\/h3>\n<p>Once that CSS is applied to a site, \u201ccascading\u201d pages come into play. In CSS, sheets are layered onto one another, adding more complexity without disrupting one another. A base page can dictate the site-wide color scheme, background, and font, letting developers \u201cset it and forget it.\u201d The flexibility comes in with the sheets they can layer on to that, adding more complexity and page-specific designs that can be turned on or off without changing any other aspects of the site\u2019s design.<\/p>\n<p>Some of the most important CSS3 modules include:<\/p>\n<ul>\n<ul>\n<li><strong>Selectors:<\/strong>\u00a0Developers can edit elements by name, class, type, attribute, and more.<\/li>\n<li><strong>The Box Model module:<\/strong>\u00a0This describes an approach to creating consistency between HTML elements on a page, or \u201cboxes.\u201d By applying margins, borders, and padding to a box\u2019s content, developers can clear area around an element, give it borders, and more.<\/li>\n<li><strong>Backgrounds and borders:<\/strong>\u00a0With better control of the treatments of element borders and page backgrounds, CSS3 also enables rounded corners on boxes and drop shadows.<\/li>\n<li><strong>Images values and replaced content<\/strong><\/li>\n<li><strong>Text effects:<\/strong>\u00a0CSS3 includes shadow effects, text overflow (hiding text that gets too long for its element), word breaking (automatically breaking text so it fits within a box), and text wrapping.<\/li>\n<li><strong>2D and 3D transformations:<\/strong>\u00a0These effects allow elements on a page to rotate, grow, shrink, flip, or translate into a different color.<\/li>\n<li><strong>Animations:<\/strong>\u00a0For the first time, CSS elements can move without using JavaScript or Flash.<\/li>\n<li><strong>Transitions:<\/strong>\u00a0An element can seamlessly change size and color.<\/li>\n<li><strong>Multiple column layout:\u00a0<\/strong>This allows pages to have more than one column of text, like a newspaper, with adjustments for width, rule, color, and more.<\/li>\n<li><strong>User interface module:\u00a0<\/strong>There are new ways to edit user interface elements.<\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS: THE VISUAL LANGUAGE OF THE WEB The front end of a website is everything that a user sees and interacts with when they land on your site. Its core trio of technologies includes: HTML markup, which dictates the organization, structure, and content of a site; JavaScript, which gives everything on a page interactivity and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[30,21,28,27,20],"class_list":["post-877","post","type-post","status-publish","format-standard","hentry","category-internet-marketing-internet-marketing","tag-best-online-marketing-company-new-delhi","tag-online-marketing-companies","tag-online-marketing-companies-india","tag-search-engine-marketing-india","tag-social-media-marketing"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts\/877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/comments?post=877"}],"version-history":[{"count":1,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts\/877\/revisions"}],"predecessor-version":[{"id":878,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts\/877\/revisions\/878"}],"wp:attachment":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/media?parent=877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/categories?post=877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/tags?post=877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}