Pen Settings

HTML

CSS

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

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <section class="service" id="vk">
  <div class="container">
    <h2> Vk.com</h2>
    
    <div class="service-block">
      <div class="service-count">
        1000
      </div>
      <div class="service-desc">
        подписчиков <br>
        на личную страницу
      </div>
      <div class="service-price">
        199<sup class="val">руб</sup>
      </div>
      <div class="service-order">
        <a class="button" href="#">Заказать →</a>
      </div>
    </div>
    <div class="service-block">
      <div class="service-count">
        1000
      </div>
      <div class="service-desc">
        подписчиков в сообщество <br>(группа, паблик)
      </div>
      <div class="service-price">
        199<sup class="val">руб</sup>
      </div>
      <div class="service-order">
        <a class="button" href="#openModal">Заказать →</a>

        <div id="openModal" class="modalDialog">
          <div>
            <a href="#close" title="Закрыть" class="close">X</a>
            <p style = "font-weight: bold; font-size: 28px; font-weight: bold; padding-bottom: 14px;"><b>Заявка</b></p>
            <div class = "input-field">
              <p><b>1000</b></p>
              <p class = "gg">подписчиков на личную страницу</p></div>

            <div class = "input-field"><input type = "text" placeholder = "Имя"></div>
            <div class = "input-field"><input type = "text" placeholder = "E-Mail"></div>
            <div class = "input-field"><input type = "text" placeholder = "Ссылка на запись"></div>

            <div style = "padding-top: 45px;"><p>К оплате:</p>
              <b>199p</b></div>

            <div class="service-order input-field">
              <a class="button g" href="#">Оплатить →</a>
              <div class = "clear"></div>
            </div>
          </div>
        </div>

      </div>
    </div>
    <div class="service-block">
      <div class="service-count">
        1000
      </div>
      <div class="service-desc">
        лайков
      </div>
      <div class="service-price">
        49<sup class="val">руб</sup>
      </div>
      <div class="service-order">
        <a class="button" href="#">Заказать →</a>
      </div>
    </div>
    <div class="service-block">
      <div class="service-count">
        1000
      </div>
      <div class="service-desc">
        репостов
      </div>
      <div class="service-price">
        149<sup class="val">руб</sup>
      </div>
      <div class="service-order">
        <a class="button" href="#">Заказать →</a>
      </div>
    </div>
    <div class="service-block">
      <div class="service-count">
        1000
      </div>
      <div class="service-desc">
        опросов <br>в голосовании
      </div>
      <div class="service-price">
        1000<sup class="val">руб</sup>
      </div>
      <div class="service-order">
        <a class="button" href="#">Заказать →</a>
      </div>
    </div>
  </div>
</section>
              
            
!

CSS

              
                /* Main  */
@import 'https://fonts.googleapis.com/css?family=Roboto:300,400,700&subset=cyrillic';

* {
	border: 0;
	outline: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Roboto;
	font-size: 14px;
	min-width: 1280px;
}

.container {
	width: 1183px;
	margin: 0 auto;
}

.container::after {
	display: table;
	content: "";
	clear: both;
}

.button {
	border: #fff solid 2px;
	border-radius: 25px;
	height: 50px;
	line-height: 50px;
	padding: 0 24px;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	font-size: 14px;
	text-transform: uppercase;
	transition: 0.1s linear;
	font-weight: bold;
}

.button:hover {
	border-color: #ffd800;
	background: #ffd800;
	color: #2e2e2e;
	transition: 0.1s linear;
}

.button-gr {
	background: linear-gradient(to right, #7ede9a 0%, #16bc93 100%);
	height: 50px;
	line-height: 50px;
	border-radius: 25px;
	display: inline-block;
	padding: 0 2px;
	text-transform: uppercase;
}

.button-gr > .button_o {
	background: #fff;
	color: #7ede9a;
	height: 46px;
	line-height: 46px;
	display: inline-block;
	border-radius: 23px;
	padding: 0 24px;
	transition: 0.1s linear;
}

.button-gr:hover {
	background: #fff;
}

.button-gr:hover > .button_o {
	background: linear-gradient(to right, #7ede9a 0%, #16bc93 100%);
	color: #fff;
	transition: 0.1s linear;
}

#header {
	height: 900px;
	background: url(../images/header.jpg) no-repeat center #fff;
	padding: 30px 0 0 0;
	text-align: center;
	box-shadow: 0px 0px 35px 0px rgba(0, 0, 0, 0.07);
}

#header nav ul {
	list-style: none;
}

#header nav ul li {
	display: inline-block;
}

#header nav ul li a {
	display: inline-block;
	color: #2e2e2e;
	font-weight: bold;
	text-decoration: none;
	padding: 12px 14px;
	border-radius: 20px;
	text-transform: uppercase;
	transition: 0.1s linear;
}

#header nav ul li a:hover {
	background: linear-gradient(to right, #7ede9a 0%, #16bc93 100%);
	color: #fff;
	transition: 0.1s linear;
}

#header h2 {
	font-weight: 100;
	padding: 240px 0 80px 0;
	font-size: 60px;
}

#header p {
	font-size: 20px;
}

#services {
	margin-top: 79px;
}

section {
	padding: 78px 0 66px;
}

section h2 {
	text-align: center;
	font-size: 26px;
	margin-bottom: 65px;
}

/**/
#about_sale {
	height: 602px;
	text-align: center;
	padding-top: 129px;
}

#about_sale h2 {
	font-weight: 300;
	font-size: 26px;
}

#gif {
	height: 343px;
	background: url(../images/about_sale.png) no-repeat center bottom;
	padding-top: 61px;
	margin-top: 62px;
}

/**/

.service {
	text-align: center;
}

.service-block {
	width: 263px;
	text-align: center;
	color: #f3f3f3;
	background: linear-gradient(to right, #7ede9a 0%, #16bc93 100%);
	padding: 22px 0;
	font-size: 18px;
	display: inline-block;
	margin: 15px;
	position: relative;
	vertical-align: top;
}

.service-count {
	font-weight: 900;
	margin-bottom: 3px;
	line-height: 1;
}

.service-desc {
	font-weight: lighter;
	margin-bottom: 47px;
	min-height: 48px;
}

.service-price {
	font-size: 34px;
	font-weight: bold;
	margin-bottom: 59px;
}

.service-price .val {
	font-size: 60%;
}

#vk {
	background: url(../images/vk.jpg) top center;
}

#youtube {
	background: url(../images/youtube.jpg) top center;
}

#twitter {
	background: url(../images/twitter.jpg) top center;
}

#askfm {
	background: url(../images/askfm.jpg) top center;
}

.sale_m {
	background: #ff5858;
	color: #fff;
	font-weight: lighter;
	font-size: 18px;
	padding: 0 15px;
	height: 27px;
	line-height: 27px;
	box-shadow: -5.755px 5.557px 18px 0px rgba(0, 0, 0, 0.15);
	position: absolute;
	top: 90px;
	right: 0;
}

/**/

#questions {
	background: url(../images/questions.png) #f3f3f3 no-repeat top center;
}

#questions .container {
	width: 537px;
}

.question {
	font-size: 20px;
	font-weight: lighter;
	background: #fff;
	margin-bottom: 9px;
	border-left: #bcbcbc solid 3px;
	position: relative;
}

.q-block {
	background: #bcbcbc;
	cursor: pointer;
	height: 48px;
	line-height: 48px;
	transition: 0.3s linear;
}

.question:hover,
.question.active {
	border-color: #10bb91;
	transition: 0.3s linear;
}

.q-inner {
	background: #fff;
	padding: 0 23px;
}

.q-toggler {
	float: right;
	font-size: 27px;
	color: #bcbcbc;
}

.q-block:hover .q-toggler {
	color: #10bb91;
}

.q-toggler .pl {}

.q-toggler .mn {
	display: none;
}

.answer {
	display: none;
	background: #fff;
	border-left: #10bb91 solid 3px;
	position: absolute;
	box-shadow: 0px 4px 8px 0px rgba(243, 243, 243, 1);
	z-index: 10;
	left: -3px;
	width: 537px;
	padding: 5px 23px 20px;
	color: #65686c;
}

/**/

#feedback {
	padding-bottom: 0;
	text-align: center;
	box-shadow: 0px 0px 35px 0px rgba(0, 0, 0, 0.07);
	background-position: -241px 176px;
}

#mobile-left {
	float: left;
	width: 455px;
	height: 748px;
	background: url(../images/mobile-left.png);
	position: absolute;
}

#mobile-left .button {
	position: absolute;
	left: 140px;
	bottom: 138px;
	border: none;
	background: #ffd800;
	color: #2e2e2e;
	box-shadow: 11.314px 11.314px 35px 0px rgba(0, 0, 0, 0.35);
	line-height: 50px;
}

#mobile-left .button:hover {
	background: linear-gradient(to right, #7ede9a 0%, #16bc93 100%);
}

#feedback-list {
	float: right;
	width: 542px;
	border-left: #c6c6c6 dashed 1px;
	font-weight: lighter;
	font-size: 16px;
	text-align: left;
	padding-left: 54px;
	position: relative;
}

.feedback-item {
	margin-bottom: 54px;
}

.feedback-num {
	position: absolute;
	left: -22.5px;
	background: #f5f5f5;
	font-weight: bold;
	color: #2e2e2e;
	width: 45px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	border-radius: 50%;
}

#feedback-k {
	position: absolute;
	left: -1px;
	background: #fff;
	height: 90px;
	width: 1px;
	bottom: -15px;
}

/**/

#guarantee {
	
}

.guarantee {
	background: #f5f5f5;
	box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.09);
	padding: 20px 0 20px 20px;
	float: left;
	margin-right: 49px;
	font-size: 16px;
	font-weight: lighter;
}

.guarantee p {
	font-size: 18px;
}

#wm {
	width: 288px;
}

#ya {
	width: 348px;
}

#acc {
	width: 449px;
	margin-right: 0;
}

.g-text {
	margin-top: 3px;
}

.icon {
	width: 49px;
	height: 49px;
	line-height: 49px;
	background: linear-gradient(to right, #7ede9a 0%, #16bc93 100%);
	display: inline-block;
	border-radius: 50%;
	float: left;
	margin-right: 20px;
}

.icon-i {
	width: 49px;
	height: 49px;
	line-height: 49px;
	background: transparent;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
}

.icon-wm {
	background-image: url(../images/icon-wm.png);
}

.icon-ya {
	background-image: url(../images/icon-ya.png);
}

.icon-acc {
	background-image: url(../images/icon-acc.png);
}

.icon-email {
	background-image: url(../images/icon-email.png);
}

.icon-skype {
	background-image: url(../images/icon-skype.png);
}

.icon-icq {
	background-image: url(../images/icon-icq.png);
}

/**/

#footer {
	background: #f5f5f5;
	border-top: #3ac894 solid 4px;
	height: 151px;
	font-size: 14px;
	font-weight: lighter;
	color: #65686c;
}

#copyright {
	float: left;
	margin-right: 75px;
    line-height: 49px;
}

#f-contacts {
	margin-top: 49px;
}

.f-contact {
	float: left;
	margin-right: 45px;
	line-height: 49px;
}

.f-icon {
	width: 49px;
	height: 49px;
	line-height: 49px;
	background-color: #fff;
	border-radius: 50%;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
	float: left;
	margin-right: 17px;
}

#madeby {
	float: right;
}

#madeby a {
	color: #65686c;
	text-decoration: none;
}


/* Modal */
.modalDialog {
  position: fixed;
  width: 410px;
  height: 470px;
  text-align: center;
  padding: 22px 0;
  font-size: 18px;
  display: inline-block;
  position: relative;
  vertical-align: top;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  -webkit-transition: opacity 400ms ease-in;
     -moz-transition: opacity 400ms ease-in;
          transition: opacity 400ms ease-in;
  display: none;
  pointer-events: none;
  float: center;
}

.modalDialog div {
  position: relative;
  z-index: 9999;
  color: #000 !important;  
  background: #f5f5f5;
  padding: 7px 0 8px;
  width: 410px;  
  border-radius: 10px;
}

/* Modal mask */
.modalDialog:after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.52);
  z-index: -1;
}

input[type="text"] {
  border: #eee solid 1px;
  padding: 5px;
  width: 317px;
  height: 42px;
}
.input-field{
  padding-top: 13px;
}
.g{
  background: linear-gradient(to right, #7ede9a 0%, #16bc93 100%);
}
.gg{
  color: #65686c;
  font-height: 8px;
  font-weight: lighter;
}



.modalDialog:target {
  display: block;
  pointer-events: auto;
}

.close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
}

.clear{
  clear: both;
}
              
            
!

JS

              
                
              
            
!
999px

Console