Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

CSS FOR BEGINNERS

Rating
-
Sold
-
Pages
2
Uploaded on
26-03-2023
Written in
2022/2023

These notes are of a well reputed institute of India. These notes will be very helpful for beginners who are going to study CSS for web development.

Institution
Course

Content preview

In this, I'm going to teach you everything you need to know to get started using
CSS. So, if you wouldn't mind, please like and subscribe. One like equals one
prayer for the YouTube algorithm. Now, let's do this. CSS is an acronym for
cascading style sheets. It's defined as a style sheet language used for
describing the presentation of a document written in a markup language such as
HTML. Internal style sheets can be used to apply CSS properties to an internal
style sheet within the head of your HTML document. You'll need a pair of style
tags to do this, one for the element you want to target and one for the element
where the property will be applied. For example, the body element can have an
internal style sheet applied to it, and that style sheet can have a CSS property
applied to it, like margin-top: 20px. An external style sheet can also be used,
in which case you would include the style tag for the external style sheet in
your document's head, like this: <style type="text/css"> body { margin-top:
20px; } </style> An external style sheet is preferred way of doing things so you
can reuse this one style sheet for many different HTML pages. CSS can target any
specific element by its ID or by a class that it may be in any element that has
these names. This is really convenient if you have to make any changes to your
website.



Using css, you can set a background color and set the background to a linear
gradient. You can even set an image as your background using css. If you need
the element to stick to the right-hand side of your window, you can set margin
to auto, and the margin on the left-hand side will be automatically calculated.
The float property positions an element to the left or right side of a
container, which is popular for wrapping elements around images. In this brief
example, there are three images and two paragraph elements. If we give the class
box the float property, it will be taken out of the normal flow of a document,
and all elements that follow after will wrap around them.



In this, the speaker demonstrates how to change font styles using CSS. They
explain that CSS stands for cascading style sheets and can be applied in one of
three ways: inline, internal, or external. For this demonstration, they use an
external style sheet. The speaker also explains how to create a border by
setting the border style and opts for a solid line. Additionally, they show
useful things that can be done with backgrounds using CSS, such as setting a
linear gradient background and applying colors to specific header and paragraph
tags. There is no mention of a website or quiz associated with the video
tutorial.



The float property positions an element to the left or right side of a
container, and is popular for wrapping elements around images if you need to
stop floating. There is a position property where you can format the layout of
an element, with five that we'll discuss: absolute fixed, relative static,
static, and sticky. Any element that is positioned absolutely will be taken out
of the flow of the document so with box 2, let's set the position to absolute so
you probably noticed that all of this text is running underneath this element,
it's as if our document is ignoring box two. Box 2 is displaced and this corner,
the top left corner, is the point of origin. If I were to set top to zero then
this box appears at the top of our document. A pseudo class is a keyword added
to a selector that specifies a special state of the selected elements. A
hyperlink is a hyperlink that will take us to google; I can't think of anything
else at the moment so let's create a. hyperlink for this first example. We can
actually change that type of element you would like to change the css properties
of followed by a colon.



Anything that's a button, we'll use the pseudo class of hover this time and

Written for

Institution
Course

Document information

Uploaded on
March 26, 2023
Number of pages
2
Written in
2022/2023
Type
Class notes
Professor(s)
Ashutosh sharma
Contains
All classes

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
yuvrajkhichi77

Get to know the seller

Seller avatar
yuvrajkhichi77 IIIT NAGPUR
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions