cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">

<!-- <div class="container">
  <div class="phone">
    <div><i class="fa fa-mobile" aria-hidden="true"></i></div>
  </div>
</div> -->

<div class="box-shadow">
	<div class="text-shadow">
    <i class="fa fa-mobile" aria-hidden="true"></i>     </div>
  <div class="screen"></div>
  <div class="screen-shadow"></div>
</div>
            
          
!
            
              
.box-shadow {
	width: 18em;
	height: 18em;
	overflow: hidden;
	display: table;
	margin: 0 auto;
	border-radius: 1em;
	background-color: #EF7568;
}

.text-shadow {
  position: absolute;
  left: 0em;
	color: #ffffff;
	font-size: 17em;
	width: 100%;
	height: 100%;
	text-align: center;
	letter-spacing: 5px;
	line-height: 1;
	display: table-cell;
	vertical-align: middle;
	text-shadow: 0px 0px 0px rgb(201, 79, 66) ,
	1px 1px 0px rgb(201, 79, 66) ,
	2px 2px 0px rgb(202, 80, 67) ,
	3px 3px 0px rgb(202, 80, 67) ,
	4px 4px 0px rgb(202, 80, 67) ,
	5px 5px 0px rgb(203, 81, 68) ,
	6px 6px 0px rgb(203, 81, 68) ,
	7px 7px 0px rgb(203, 81, 68) ,
	8px 8px 0px rgb(204, 82, 69) ,
	9px 9px 0px rgb(204, 82, 69) ,
	10px 10px 0px rgb(204, 82, 69) ,
	11px 11px 0px rgb(205, 83, 70) ,
	12px 12px 0px rgb(205, 83, 70) ,
	13px 13px 0px rgb(205, 83, 70) ,
	14px 14px 0px rgb(206, 84, 71) ,
	15px 15px 0px rgb(206, 84, 71) ,
	16px 16px 0px rgb(206, 84, 71) ,
	17px 17px 0px rgb(207, 85, 72) ,
	18px 18px 0px rgb(207, 85, 72) ,
	19px 19px 0px rgb(207, 85, 72) ,
	20px 20px 0px rgb(207, 85, 72) ,
	21px 21px 0px rgb(208, 86, 73) ,
	22px 22px 0px rgb(208, 86, 73) ,
	23px 23px 0px rgb(208, 86, 73) ,
	24px 24px 0px rgb(209, 87, 74) ,
	25px 25px 0px rgb(209, 87, 74) ,
	26px 26px 0px rgb(209, 87, 74) ,
	27px 27px 0px rgb(210, 88, 75) ,
	28px 28px 0px rgb(210, 88, 75) ,
	29px 29px 0px rgb(210, 88, 75) ,
	30px 30px 0px rgb(211, 89, 76) ,
	31px 31px 0px rgb(211, 89, 76) ,
	32px 32px 0px rgb(211, 89, 76) ,
	33px 33px 0px rgb(212, 90, 77) ,
	34px 34px 0px rgb(212, 90, 77) ,
	35px 35px 0px rgb(212, 90, 77) ,
	36px 36px 0px rgb(213, 91, 78) ,
	37px 37px 0px rgb(213, 91, 78) ,
	38px 38px 0px rgb(213, 91, 78) ,
	39px 39px 0px rgb(214, 92, 79) ,
	40px 40px 0px rgb(214, 92, 79) ,
	41px 41px 0px rgb(214, 92, 79) ,
	42px 42px 0px rgb(215, 93, 80) ,
	43px 43px 0px rgb(215, 93, 80) ,
	44px 44px 0px rgb(215, 93, 80) ,
	45px 45px 0px rgb(216, 94, 81) ,
	46px 46px 0px rgb(216, 94, 81) ,
	47px 47px 0px rgb(216, 94, 81) ,
	48px 48px 0px rgb(217, 95, 82) ,
	49px 49px 0px rgb(217, 95, 82) ,
	50px 50px 0px rgb(217, 95, 82) ,
	51px 51px 0px rgb(218, 96, 83) ,
	52px 52px 0px rgb(218, 96, 83) ,
	53px 53px 0px rgb(218, 96, 83) ,
	54px 54px 0px rgb(219, 97, 84) ,
	55px 55px 0px rgb(219, 97, 84) ,
	56px 56px 0px rgb(219, 97, 84) ,
	57px 57px 0px rgb(220, 98, 85) ,
	58px 58px 0px rgb(220, 98, 85) ,
	59px 59px 0px rgb(220, 98, 85) ,
	60px 60px 0px rgb(221, 99, 86) ,
	61px 61px 0px rgb(221, 99, 86) ,
	62px 62px 0px rgb(221, 99, 86) ,
	63px 63px 0px rgb(222, 100, 87) ,
	64px 64px 0px rgb(222, 100, 87) ,
	65px 65px 0px rgb(222, 100, 87) ,
	66px 66px 0px rgb(223, 101, 88) ,
	67px 67px 0px rgb(223, 101, 88) ,
	68px 68px 0px rgb(223, 101, 88) ,
	69px 69px 0px rgb(224, 102, 89) ,
	70px 70px 0px rgb(224, 102, 89) ,
	71px 71px 0px rgb(224, 102, 89) ,
	72px 72px 0px rgb(225, 103, 90) ,
	73px 73px 0px rgb(225, 103, 90) ,
	74px 74px 0px rgb(225, 103, 90) ,
	75px 75px 0px rgb(226, 104, 91) ,
	76px 76px 0px rgb(226, 104, 91) ,
	77px 77px 0px rgb(226, 104, 91) ,
	78px 78px 0px rgb(227, 105, 92) ,
	79px 79px 0px rgb(227, 105, 92) ,
	80px 80px 0px rgb(227, 105, 92) ,
	81px 81px 0px rgb(228, 106, 93) ,
	82px 82px 0px rgb(228, 106, 93) ,
	83px 83px 0px rgb(228, 106, 93) ,
	84px 83px 0px rgb(228, 106, 93) ,
	85px 83px 0px rgb(229, 107, 94) ,
	86px 83px 0px rgb(229, 107, 94) ,
	87px 83px 0px rgb(229, 107, 94) ,
	88px 83px 0px rgb(230, 108, 95) ,
	89px 83px 0px rgb(230, 108, 95);
}

.screen {
  position: relative;
  width: 5.6em;
  height: 7.4em;
  border-radius: 0.2em;
  background-color: #00BCD5;
  left: 6em;
  top: 4.6em;
}

.screen-shadow {
  position: relative;
  width: 3.6em;
  height: 12.2em;
  border-top-right-radius: 1.3em;
  border-bottom-right-radius: 1.3em;
  background-color: rgba(0, 0, 0, 0.2);
  left: 8.9em;
  top: -5.2em;
}
            
          
!
            
              // Source: http://russiansearch.wpengine.netdna-cdn.com/wp-content/uploads/mobile-phone-icon-270x270.jpg
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console