Skip to content

Instantly share code, notes, and snippets.

View ak545's full-sized avatar
🏠
Working from home

Andrey Klimov ak545

🏠
Working from home
View GitHub Profile
@ak545
ak545 / index.html
Created September 23, 2024 20:42 — forked from natkaida/index.html
HTML для индикатора размера окна
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Индикатор размера окна</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Размер окна:</h1>
@ak545
ak545 / styles.css
Created September 23, 2024 20:41 — forked from natkaida/styles.css
CSS для определения размера окна
@property --w_raw {
syntax: '<length>';
inherits: true;
initial-value: 100vw;
}
@property --h_raw {
syntax: '<length>';
inherits: true;
initial-value: 100vh;