1. CSS: Cascading Style Sheets is a style sheet language used for describing the presentation and formatting of HTML and XML documents.
2. Selector: A selector is used to target HTML elements that you want to style. It specifies which elements the styles will be applied to.
3. Property: CSS properties define the visual appearance and behavior of HTML elements. Examples include `color`, `font-size`, `margin`, `padding`, and many more.
4. Value: Values are assigned to CSS properties and determine how the property will be applied. For example, `red` could be a value for the `color` property.
5. Declaration: A declaration consists of a CSS property and its corresponding value. Declarations are combined within curly braces `{ }` to form CSS rules.
6. Rule: A CSS rule consists of a selector and one or more declarations. It defines how selected elements should be styled. For example:
```css
selector {
property: value;
}
```
7. Class: A class is a way to define a reusable set of styles that can be applied to multiple elements. It is denoted by a leading period (`.`) in CSS.
8. ID: An ID is used to uniquely identify a specific HTML element on a page. It is denoted by a leading hash (`#`) in CSS.
9. Pseudo-class: A pseudo-class is used to select elements based on specific states or conditions. Examples include `:hover`, `:active`, and `:nth-child()`.
10. Pseudo-element: A pseudo-element is used to style a specific part of an element. Examples include `::before` and `::after`, which create virtual elements.
11. Selector Specificity: Selector specificity determines which CSS rules take precedence when multiple rules target the same element. Specificity is based on the types of selectors used.
12. Box Model: The box model describes how elements are rendered on the web. It consists of the content area, padding, border, and margin.
13. Display Property: The `display` property determines how an element is rendered and behaves in the document flow. Common values include `block`, `inline`, and `flex`.
14. Float: The `float` property is used to position an element to the left or right of its container, allowing other content to flow around it.
15. Positioning: CSS positioning determines the layout and positioning of elements on a web page. Values include `static`, `relative`, `absolute`, and `fixed`.
16. Media Queries: Media queries allow styles to be applied selectively based on the characteristics of the user's device, such as screen size or orientation.
17. Flexbox: Flexbox is a CSS layout model that allows flexible and responsive positioning of elements within a container. It provides easy alignment and distribution of elements.
18. Grid: CSS Grid Layout is a powerful layout system that allows you to create two-dimensional grid-based layouts. It provides precise control over the placement and sizing of elements.
19. Transitions: CSS transitions enable smooth animations by specifying the transition of property values over time. They can be triggered by various events, such as hover or click.
20. Vendor Prefixes: Vendor prefixes are used to implement experimental or non-standard CSS properties. They are added before the property name and are specific to certain browsers, such as `-webkit-` for WebKit-based browsers.
Courses
- Home
- OOP
- Data Structures
- DLD
- Algorithms
- DBMS
- Computer Networks
- SE
- Compiler Construction
- Artificial Intelligence
- Theory of Automata
- DCN
- Digital Image Processing
- OS
- Web Engineering
- CSA
- Network Security
- Assembly Language
- Operation Research
- Wireless & Mobile Communication
- Computer Graphics
- Numerical Analysis
- Discrete Structures
- System Programming
- Principles of Programming Languages
- Programming Fundamentals
CSS
Here is a glossary of terms related to CSS (Cascading Style Sheets):
Subscribe to:
Comments (Atom)