Jump to content
  • 0

Как выровнять заголовок для текста


surenos
 Share

Question

Подскажите пожалуйста как выровнять заголовок для текста, вот пример как должно быть и как есть.

 

.offers {
	display: flex;

}


.offers h1 {

	margin-top: 74px ;
	font-size: 25px;
	text-transform: uppercase;
	line-height: 37px;

}

.offers p {
	font-family: Open Sans;
	font-size: 16px;
	line-height: 26px;
	text-align: justify;
}

 

 

<div class="abto">
			<h1>ABOUT THE EVENT</h1></div>

			<div class="offers">
			<h1>
				REBUILDING THE SOCIETY
			</h1>
				<p>
					Burning Man is a network of people inspired by the values reflected in the Ten Principles and united in the pursuit of a more creative and connected existence in the world. Throughout the year we work to build Black Rock City, home of the largest annual Burning Man gathering, and nurture the distinctive culture emerging from that experience. 
				</p>
					<h1>
						THIS DRIVES US
					</h1>
					<p>
						Burning Man Project will bring experiences to people in grand, awe-inspiring and joyful ways that lift the human spirit, address social problems, and inspire a sense of culture, community, and civic engagement. Burning Man provides infrastructural tools and frameworks to support local communities in applying the Ten Principles through six interconnected program areas, including Arts, Civic Involvement, Culture, Education, Philosophical Center, and Social Enterprise.
					</p>
					</div>
				</div>

 

do.png

posle.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
41 минуту назад, klierik сказал:

Здравствуйте.

Вам поможет https://webref.ru/css/flex-direction

С этим понял.

 

Теперь вопрос по картинке. как её по тексту выровнять? Не могу понять

.pic{
    display: box;
    margin-top: 84px;
    margin-right: 29px;
}

1182622d1601461828

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy