Skip to content

TASK-3 create progress-bar#2

Open
pollyv wants to merge 2 commits intomainfrom
TASK-3
Open

TASK-3 create progress-bar#2
pollyv wants to merge 2 commits intomainfrom
TASK-3

Conversation

@pollyv
Copy link
Copy Markdown
Owner

@pollyv pollyv commented May 28, 2024

A simple animated progress bar was created using HTML and CSS. The .progress-bar element is a container with certain sizes and styles, including a shadow and a rounding radius. The .progress element represents the progress bar itself, which starts at zero width and animates to 100% when the cursor hovers over the .progress-bar.

pollyv added 2 commits May 28, 2024 12:25
- add linear gradient
- delete border
Copy link
Copy Markdown

@L1s-is L1s-is left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все отлично, не забываем про использование БЭМ и просмотр верстки на адаптиве

Comment thread progress-bar/index.html
<link rel="stylesheet" href="/progress-bar/styles.css" />
</head>
<body>
<div class="progress-bar">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Стоило добавить какой-то контейнер, которому задать отступы, чтобы на адаптиве контент не прилипал к краям https://imgur.com/080HzFT
P.S. Да и в целом центрирование лучше делать не с помощью накладывания стилей на body, а создавать для этого специальный контейнер-обертку.
Ну и именование по бему для progress стоило сделать как Э - элемент, т.е. progress-bar__progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants