RUVIDEO
Поделитесь видео 🙏

CSS Tutorial in Hindi [Part 28] - CSS Functions

📁 Обучение 👁️ 17 📅 27.11.2023

In this video i will talk about Functions in CSS.


Like any other programming language, CSS has functions. They can be inserted where you’d place a value, or in some cases, accompanying another value declaration. Some CSS functions even let you nest other functions within them!

Unlike other programming languages, we cannot create our own functions in CSS. That kind of logic is reserved for CSS selectors, which allow you to create powerful conditional styling rules.

As opposed to other programming languages — where the output of a function typically invisibly affects other logic down the line — the output of CSS functions are visual in nature. This output is used to control both layout and presentation of content.

CSS functions are used as a value for various CSS properties.


attr() - Returns the value of an attribute of the selected element

calc() - Allows you to perform calculations to determine CSS property values

cubic-bezier() - Defines a Cubic Bezier curve

hsl() - Defines colors using the Hue-Saturation-Lightness model (HSL)

hsla() - Defines colors using the Hue-Saturation-Lightness-Alpha model (HSLA)

linear-gradient() - Sets a linear gradient as the background image. Define at least two colors (top to bottom)


radial-gradient() - Sets a radial gradient as the background image. Define at least two colors (center to edges)


repeating-linear-gradient() - Repeats a linear gradient


repeating-radial-gradient() - Repeats a radial gradient


rgb() - Defines colors using the Red-Green-Blue model (RGB)


rgba() - Defines colors using the Red-Green-Blue-Alpha model (RGBA)


var() - Inserts the value of a custom property

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «CSS Tutorial in Hindi [Part 28] - CSS Functions», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.