What is CSS used for? - CSS introduction or the introduction of CSS

What is CSS used for? - CSS introduction or the introduction of CSS

What is CSS used for? - CSS introduction or the introduction of CSS - CSS used for controlling you to create rules that specify how the content of ...

What is CSS used for? - CSS introduction or the introduction of CSS

CSS stands for Cascading Style Sheets which is used for controlling you to create rules that specify how the content of an element should appear. CSS is an extremely powerful style sheet language that works by associating rules with HTML elements that govern how the content of specified elements should be revealed.

CSS introduction

In general, you use HTML to describe your web page, not its style. Let's suppose you want to add and show that HTML h1 heading which should be in the center so you will use CSS for it And if you want that size of the image should be something at this stage you can also do that. When you use CSS. you probably avoid these HTML style features so your document style information is in one place. And we are able to keep every visual aspect of the website completely separated from the content, Using CSS when designing our websites helps us to handle all elements form one stylesheet or several.

Main Points:

  1. A CSS rule contains two parts one is selector other is declaration. Such as we make an element in HTML like img tag that we want to resize it and use a property called width.

--- It is created in HTML.

img{ width: 20px; } --- It is method for giving any element to style in CSS.

2.Where img is a selector and between curly brackets called declaration.

  1. Selectors indicate which element the rule applies to. Declarations indicate how the elements should be styled

  2. CSS declaration sit inside curly brackets and each property made up to two parts: A property and a value, separated from colon. You can specify multiple properties in one declaration, each separated by a semi-colon.

  3. With an external stylesheet file, you can change whole look of an entire website by just one file.

  4. The style definition are normally stored in external .css files. If we want to make an external style file so you must to put .css and before this dot you can write something which you want. Like sheet.css, style.css, etc but mostly developers use style.css because it is standard for making a file of CSS. https://codephactory.blogspot.com/2020/10/what-is-css-used-for.html

css3 css #whatiscss #introductionofcss #html

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Creating a CSS Visual Cheatsheet

The other day one of our students asked about possibility of having a CSS cheatsheet to help to decide on the best suited approach when doing this or that layout.

How To Design CSS Filter Card Effect Using Html and CSS

Hi..! everyone, today in this tutorial we will learn about how to "Design CSS Filter Card Effect Using Html and CSS". If you want to be creative, then don't ...

HTML and CSS Tutorial for Beginners | HTML and CSS | HTML CSS Tutorial

HTML and CSS Tutorial for Beginners will provide you with a detailed and comprehensive knowledge about HTML. In this HTML Tutorial for Beginners you will learn HTML concepts from scratch and also how to create your first web page using HTML Tags.

HTML and CSS Tutorial for Beginners | HTML and CSS | HTML CSS Tutorial

HTML and CSS Tutorial for Beginners will provide you with a detailed and comprehensive knowledge about HTML. In this HTML Tutorial for Beginners you will learn HTML concepts from scratch and also how to create your first web page using HTML Tags.

Colorful Drop-Down Menu in HTML CSS | Drop-Down Menu in HTML CSS

Download File: https://drive.google.com/file/d/1PpbVEw_mSvUPfA0WqdgcKWSoc-VnqgqW/view?usp=sharing Want to create a Drop-Down Menu with HTML & CSS? Check out ...