100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Samenvatting

Summary HTML/CSS/JS Fundamental Notes

Beoordeling
-
Verkocht
-
Pagina's
112
Geüpload op
06-01-2024
Geschreven in
2019/2020

Content to learn web development fundamentals HTML, CSS and JavaScript key to assist with developing web-based projects during brunel university projects.

Instelling
Vak











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Studie
Onbekend
Vak

Documentinformatie

Geüpload op
6 januari 2024
Aantal pagina's
112
Geschreven in
2019/2020
Type
Samenvatting

Onderwerpen

Voorbeeld van de inhoud

🌐
CSS Notes

CSS Crash Course


CSS Basics


Cascading Style Sheets - Primary styling language of the web.
It allows us to style our websites as well as describing the layout of how we want our
website to be presented such as the size and positioning of elements


Casading



The order that stylesheets are used. There are 3 main types of style sheets:
1.) User Agent Stylesheets: Contain browser defaults for styles, these get the lowest
level of precedence.


2.) User Stylesheets: Contain user preferences saved in the browser, which override
user agent stylesheets.


3.) Author Stylesheets: Contain the CSS code we write, these get the highest level of
precedence (assuming !important has not been used)


Declaration




CSS Notes 1

, CSS is just a collection of declarations. A declaration is a CSS property-value pair in the
form:
property: value;


Declaration block
A group of declarations surrounded by {}




Ruleset
A selector followed by a declaration block for styling elements matching the selector
with the declarations in the declaration block. Rulesets follow this syntax:




Comments




CSS Notes 2

, Linking To HTML
The link tag goes on the head. It uses the relationship attribute and the hypertext
reference attribute.




Selectors

A Pattern used at the beginning of a ruleset for choosing which elements will be affected
by the declarations.




Universal selector: * selects everything




CSS Notes 3

, Pseudo Classes And Elements

Pseudo classes are an addition to a CSS selector used for selecting based on the
current state of the element. These start with “:” e.g. button:hover would select buttons
currently hovered over


Pseduo elements are an addition to a CSS selector used for selecting a specific portion
of the element.

e.g. p::first-letter would select the first letter of the paragraphs.
::before and ::after are special pseudo elements that insert children before or after the
content of the element, allowing for styling before or after the content. This is often
times used with the CSS content property but not always.


Selector Specificity

What happens to conflicting declarations?

The highest weight is selected. The more specific one is used.


Specificity is roughly calculated by counting the number of each selector type involved
in a selector and multiplying by a weight. If weighting is the same it defaults to the last
rule in the stylesheet.




CSS Notes 4

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
cslbrunel Brunel University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
63
Lid sinds
3 jaar
Aantal volgers
34
Documenten
29
Laatst verkocht
4 maanden geleden
Brunel Computer Science (1st Class Honours)

I achieved a First Class Honours degree in Computer Science from Brunel University - I will be uploading some of my work. Please do not purchase any documents looking for the solution to your assignments or deliverables. No refunds / exchanges.

5,0

2 beoordelingen

5
2
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen