Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container">
<header class="header">
<div class="nav-container">
					<div class="logo_nav">
						<a href="#"><img class="logo" alt="logo" src="https://images.vexels.com/media/users/3/137627/isolated/lists/012f7bd53633f5a6e78e60ea08948c55-minimalist-infinity-logo.png"></a>
					</div>

					<div class="bar_menu">
						<ul class="menu">
							<li class="menu_item">
								<a href="#" class="menu_link">How it works</a>
							</li>
							<li class="menu_item">
								<a href="#" class="menu_link">Benefits</a>
							</li>
							<li class="menu_item">
								<a href="#" class="menu_link">Job Listings</a>
							</li>

						</ul>
					</div>

					<div class="bar_button">
						<a href="#">Log in</a>
					</div>
				</div>
  <div class="main-container">
					<div class="main_left left-block">
						<h1>The New Title <br><b>of Product</b></h1>
						<p>Start working with the best products <br>and find a copy or something big</p>
						<a href="#">Try it!</a>
					</div>

					<div class="main_right right-block">
					</div>
				</div>
</header>

<section class="about">
			<div class="container">
				<div class="how_works">
					<h2>How to find a product</h2>
					<h4 class="sub uppercase">SUB TITLE</h4>
					<ul class="how_items">
						<li class="how-item">
							<h5>Customize Your Profile</h5>
							<p>Create your profile in couple of clicks and show the right information</p>
						</li>
						<li class="how-item">
							<h5>Find the product you are liked</h5>
							<p>Send us your preferencies to get the better match and  find a product you are liked. Communicate with people.</p>
						</li>
						<li class="how-item">
							<h5>Get benefits</h5>
							<p>Refer friends or get invitation on the interview and get bonus</p>
						</li>
					</ul>
				</div>
			</div>
		</section>
  <div>
            
          
!
            
              *{
  box-sizing:border-box;
}
html,
body {
	margin: 0;
	padding: 0;
}

body {
	min-width: 320px;
	margin: 0 auto;
}

a {
	text-decoration: none;
	color: #3E3E3E;
}

a:hover {
	color: #512BE7;
}

li {
  list-style: none:
}

h4 {
  text-align: center;
}

/* ===== NAVIGATION =======*/
.container{
  max-width: 1140px;	
}
.header {
	position: relative;
}

.nav-container {
	display:flex;
  justify-content: space-between;
  align-items:center;
  
}

.logo {
	display: inline-block;
	vertical-align: top;
	height: 51px;
	margin-top: 4px;
}

.menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.menu li {
	display: inline-block;
	margin-right: 25px;
}

.btn-nav {
	display: inline-block;
	border: 1px solid;
	width: 160px;
	height: 45px;
	background-color: red;
	border-radius: 5px;
	vertical-align: top;

	text-align: center;
	font-size: 0.9em;
	color: #ffffff;
	padding-top: 12px;
	box-shadow: ;
}

.btn {
	display: inline-block;
	background-color: red;
	border-radius: 5px;
	vertical-align: top;

	text-align: center;
	color: #ffffff;
	font-weight: bold;
}

.btn-primary {
	width: 300px;
	height: 70px;
	font-size: 1em;
	line-height: 4.1;
	margin-top: 25px;
	margin-bottom: 30px;		
}
/* ===== #1 BLOCK =======*/
.main-container {
	margin-top: 100px;
	box-sizing: border-box;
  
   background-image: url("https://startly.web3templates.com/demo/software/images/screen2.jpg");
	background-size: contain;			
	background-repeat: no-repeat;
	background-position: right center;
}

.main_left {
	width: 40%;
}

/* НЕ РАБОТАЕТ 
.main_right {
  background-image: url("https://startly.web3templates.com/demo/software/images/screen2.jpg");
	background-size: contain;			
	background-repeat: no-repeat;
	background-position: right center;
}*/



/* ===== #2 BLOCK =======*/

.how_works {
	width: 100%;				/* Как сделать ширину так, чтобы при уменьшении экрана оставались отступы по бокам? То есть ширина блока должна быть 80%. Но если уменьшить сейчас до 80%, то она будет слишком маленькой из-за того, что УЖЕ есть отступы по бокам */
	height: 500px;
	margin: 0 auto;
	margin-top: 200px;			/*Как сделать отступы между блоками более правильными? чтобы было больше места и адаптивность */
	border-radius: 10px;

	box-shadow: 10px 18px 54px 6px #C3C3C3;
}

.how_works h2 {
	padding-top: 60px;
	text-align: center;
	margin-bottom: 0;
}

.how_works h4 {
	margin-top: 10px;
}

.how_items {
	display: flex;
	justify-content: space-around;
	margin-top: 55px;
	margin-left: 50px;
}

.how-item {
	width: 225px;			/*Как правильно делать ширину буллета? стоит ли прикреплять к px? */
	position: relative;
}

.how-item:last-child h5{
	line-height: 2.6;
}

.how-item:first-child::before {
	content: "1";	
	position: absolute;
	top: 20px;
	left: -80px;	
	font-size: 1em;
	background-color: blue;
	color: #ffffff;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	text-align: center;
	line-height: 3.7;
}

.how-item:nth-child(2)::before {
	content: "2";	
	position: absolute;
	top: 20px;
	left: -80px;	
	font-size: 1em;	
	background-color: blue;
	color: #ffffff;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	text-align: center;
	line-height: 3.7;
}

.how-item:last-child::before {
	content: "3";	
	position: absolute;
	top: 20px;
	left: -80px;	
	font-size: 1em;
	background-color: blue;
	color: #ffffff;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	text-align: center;
	line-height: 3.7;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console