Jump to content

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

Recommended Posts

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


.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">
					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. 
						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.




Link to post
Share on other sites
  • klierik changed the title to Как выровнять заголовок для текста
41 минуту назад, klierik сказал:


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

С этим понял.


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

    display: box;
    margin-top: 84px;
    margin-right: 29px;


Link to post
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.

Reply to this topic...

×   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.

  • Member Statistics

    Total Members
    Most Online
    Newest Member
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...