p-foundation / pink-app

The repository is created for learning adaptive web design and team collaboration through git and GitHub
https://p-foundation.github.io/pink-app/
0 stars 0 forks source link

refactor: creates modifiers for intro block #32

Closed MarPostovik closed 6 months ago

MarPostovik commented 6 months ago

Description

In our project, we have three pages, all of which have an intro block. But they have some differences such as padding and max-width. I created modifiers for block intro and for its element intro__title to list those changes in separate files.

Task Link

Link to Figma

Changes Made

Usage

Here is a quick instruction on how to use the modifiers.

Modifiers for block intro:

They should be used along with the class intro where common styles for all intro blocks are placed.

Modifiers for element intro__title:

They should be used along with the class intro__title.

Example:

<div class="intro intro_page_form">
        <h1 class="intro__title intro__title_page_form">Your title</h1>
 </div>

I've already added those modifiers on pages index.html and form.html but you may need this information for page catalog.html

Checklist