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

              
                <!--  svg Created by Maxim Kulikov of the noun project	 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve">
	<g>
		<path id="rightEye" d="M53.083,47.839c-0.678,0.901-1.099,2.032-1.185,3.184c-0.075,0.99-0.052,2.747,0.948,3.399   c0.862,0.56,1.917,0.855,3.05,0.855c1.021,0,2.077-0.233,3.056-0.674c0.948-0.427,1.668-0.952,2.199-1.603   c0.604-0.74,0.995-1.689,1.162-2.822c0.588-4.003-0.297-4.235-0.723-4.346C57.75,44.829,54.821,45.525,53.083,47.839z    M60.335,49.885c-0.113,0.771-0.36,1.393-0.732,1.849c-0.327,0.4-0.822,0.752-1.473,1.045c-1.414,0.636-3.049,0.659-4.109,0.018   c-0.104-0.244-0.179-0.958-0.128-1.624c0.058-0.776,0.338-1.533,0.788-2.132c1.154-1.534,3.096-1.996,5.791-1.42   C60.473,48.333,60.381,49.56,60.335,49.885z"/>
		<path id="leftEye" d="M33.313,48.591c-1.135,0.113-2.271,0.514-3.088,0.856c-0.45,0.188-1.132,0.472-1.294,1.426   c-0.169,0.983,0.168,2.112,0.557,3.187c0.19,0.523,0.917,2.298,2.305,3.157c0.7,0.434,1.543,0.69,2.576,0.785   c0.304,0.028,0.633,0.045,0.972,0.045c1.539,0,2.743-0.346,3.578-1.03c0.075-0.061,0.145-0.125,0.215-0.195   c1.672-1.687,0.694-4.989-0.687-6.432C37.193,49.078,35.247,48.395,33.313,48.591z M37.65,55.47   c-0.454,0.373-1.275,0.577-2.311,0.577c-0.275,0-0.542-0.014-0.79-0.037c-0.717-0.065-1.274-0.227-1.705-0.493   c-0.541-0.335-1.135-1.194-1.477-2.138c-0.159-0.438-0.516-1.421-0.479-2.042c0.045-0.019,0.101-0.041,0.173-0.071   c0.887-0.372,1.757-0.615,2.45-0.684c0.299-0.031,0.597-0.022,0.891,0.005c-1.224,0.026-2.209,1.022-2.209,2.252   c0,1.246,1.01,2.257,2.257,2.257s2.257-1.01,2.257-2.257c0-0.917-0.549-1.703-1.335-2.056c0.629,0.204,1.197,0.537,1.629,0.989   C37.78,52.587,38.426,54.694,37.65,55.47z"/>
		<circle id="rightPupil" cx="57.497" cy="49.9" r="2.257"/>
		<path id="main" d="M17.658,30.69c0.198,0.313,0.304,0.676,0.304,1.048v1.25c0,0.801,0.148,1.584,0.441,2.327l1.33,3.38   c0.113,0.288,0.128,0.599,0.042,0.9c-0.624,2.192-2.049,7.915-1.78,13.693c0.28,6.011,4.581,10.801,6.351,12.527   c-1.099,1.312-3.186,4.001-3.642,6.003c-0.112,0.496-0.216,1.023-0.321,1.561c-0.368,1.876-0.786,4.004-1.684,4.832   c-0.577,0.533-1.564,1.512-2.569,2.507c-1.167,1.158-2.767,2.743-3.009,2.924c-0.494,0.247-0.694,0.848-0.447,1.342   c0.176,0.351,0.528,0.553,0.896,0.553c0.15,0,0.303-0.034,0.446-0.105c0.341-0.171,0.9-0.694,3.522-3.292   c0.984-0.976,1.952-1.936,2.519-2.458c1.377-1.272,1.841-3.633,2.289-5.917c0.102-0.518,0.201-1.025,0.309-1.502   c0.346-1.521,2.239-3.993,3.352-5.31c-0.012,0.051-0.032,0.1-0.034,0.155c-0.016,0.414,0.308,0.762,0.722,0.777l5.374,0.196   c0.192,0.649,0.493,1.49,0.929,2.36l-8.311,2.002c-0.402,0.097-0.65,0.502-0.554,0.905c0.083,0.344,0.391,0.574,0.729,0.574   c0.059,0,0.117-0.007,0.177-0.021l8.756-2.109c0.489,0.712,1.085,1.386,1.813,1.939l-6.104,3.618   c-0.355,0.211-0.474,0.671-0.263,1.027c0.141,0.236,0.39,0.368,0.646,0.368c0.13,0,0.262-0.034,0.382-0.105l6.837-4.053   c0.361,0.148,0.736,0.277,1.145,0.361c0.984,0.202,1.876,0.29,2.681,0.29c0.143,0,0.268-0.018,0.406-0.023   c2.194,1.535,4.393,2.322,6.541,2.322h0.001c3.727,0,6.093-2.237,7.114-3.47c0.524-0.133,1.047-0.32,1.564-0.585   c0.193-0.099,0.366-0.203,0.545-0.305l10.629,4.061c0.088,0.034,0.179,0.049,0.268,0.049c0.302,0,0.587-0.184,0.7-0.482   c0.148-0.387-0.046-0.82-0.433-0.968l-9.646-3.685c1.055-0.847,1.765-1.752,2.242-2.637h10.706c0.414,0,0.75-0.336,0.75-0.75   s-0.336-0.75-0.75-0.75H61.489c0.24-0.79,0.336-1.513,0.39-2.104l8.719-2.667c0.396-0.121,0.618-0.541,0.497-0.937   c-0.121-0.396-0.536-0.621-0.937-0.498l-8.124,2.485l0.089-0.878c0.056-0.55-0.345-1.04-0.895-1.096   c-0.563-0.052-1.041,0.346-1.096,0.895l-0.173,1.714l-1.983,0.607c-0.396,0.121-0.618,0.541-0.497,0.937   c0.099,0.323,0.396,0.531,0.717,0.531c0.072,0,0.146-0.01,0.22-0.033l1.355-0.415c-0.086,0.483-0.217,0.972-0.416,1.459h-2.547   c-0.414,0-0.75,0.336-0.75,0.75s0.336,0.75,0.75,0.75h1.66c-0.499,0.62-1.175,1.22-2.096,1.778l-1.876-0.717   c-0.387-0.148-0.821,0.046-0.968,0.433c-0.148,0.387,0.046,0.82,0.433,0.968l0.441,0.169c-2.689,0.626-5.519-0.782-6.597-1.41   l1.988-2.114c0.353-0.375,0.488-0.897,0.364-1.396c-0.124-0.498-0.487-0.894-0.974-1.059c-0.721-0.245-1.489-0.339-2.379-0.265   c-1.121,0.094-2.065,0.396-2.807,0.898c-0.383,0.259-0.621,0.673-0.651,1.136c-0.032,0.468,0.151,0.916,0.501,1.228l1.983,1.767   c-0.273,0.465-1.88,2.783-6.28,2.206l0.754-0.447c0.355-0.211,0.474-0.671,0.263-1.027c-0.212-0.356-0.671-0.475-1.028-0.263   l-1.999,1.185c-0.631-0.324-1.167-0.779-1.617-1.305l2.204-0.531c0.402-0.097,0.65-0.502,0.554-0.905   c-0.098-0.403-0.505-0.649-0.905-0.553l-2.768,0.667c-0.348-0.623-0.61-1.248-0.804-1.798l2.679,0.098c0.01,0,0.019,0,0.028,0   c0.401,0,0.733-0.318,0.748-0.723c0.016-0.414-0.308-0.762-0.722-0.777l-3.172-0.116c-0.017-0.08-0.029-0.139-0.03-0.144   c-0.097-0.543-0.617-0.908-1.158-0.812c-0.449,0.079-0.76,0.45-0.805,0.882l-5.024-0.183c-0.105-0.005-0.2,0.013-0.287,0.042   c0.005-0.005,0.012-0.014,0.017-0.019c0.181-0.201,0.272-0.467,0.255-0.737c-0.019-0.27-0.146-0.521-0.353-0.696   c-0.01-0.009-0.193-0.168-0.474-0.438h0.759c0.414,0,0.75-0.336,0.75-0.75s-0.336-0.75-0.75-0.75h-2.179   c-0.78-0.9-1.679-2.078-2.473-3.46c0.659,0.144,1.442,0.253,2.381,0.253c0.161,0,0.326-0.003,0.495-0.009   c0.414-0.016,0.737-0.364,0.721-0.778c-0.015-0.414-0.348-0.732-0.777-0.721c-1.857,0.074-3.104-0.316-3.748-0.591   c-0.594-1.391-1.018-2.92-1.093-4.535c-0.01-0.213-0.013-0.427-0.018-0.64c0.809,0.885,1.892,1.744,3.193,2.005   c0.05,0.01,0.1,0.015,0.148,0.015c0.35,0,0.663-0.247,0.734-0.603c0.081-0.406-0.183-0.801-0.588-0.882   c-1.619-0.323-2.893-2.069-3.457-2.976c0.22-4.347,1.208-8.269,1.693-9.971c0.203-0.716,0.167-1.49-0.104-2.18l-1.33-3.38   c-0.201-0.509-0.303-1.045-0.303-1.594v-1.25c0-0.752-0.213-1.486-0.615-2.12l-5.585-8.802c-0.052-0.084-1.25-2.083-0.058-3.633   c0.591-0.771,4.624,0.302,8.372,2.207c0.014,0.009,0.303,0.194,0.761,0.494c0.072,0.066,0.153,0.116,0.243,0.16   c1.987,1.306,6.366,4.256,7.781,5.808c0.604,0.664,2.189,3.059,2.749,3.925c0.299,0.463,0.919,0.597,1.382,0.297   c0.465-0.299,0.598-0.918,0.298-1.382c-0.215-0.333-2.125-3.281-2.95-4.187c-0.781-0.858-2.293-2.043-3.874-3.188l3.186,0.727   c0.073,0.017,0.148,0.025,0.223,0.025c0.19,0,0.379-0.055,0.541-0.159c0.03-0.019,1.963-1.249,4.723-2.387   c-0.675,1.665-1.189,4.202-0.313,7.493c0.089,0.336,0.393,0.557,0.725,0.557c0.063,0,0.128-0.008,0.193-0.025   c0.399-0.106,0.638-0.517,0.531-0.917c-1.094-4.111,0.246-6.825,0.936-7.876c1.067-0.353,2.199-0.662,3.361-0.867   c0.013-0.002,0.027-0.004,0.041-0.007c-0.599,2.555-1.592,8.188-0.321,13.554c0.081,0.345,0.389,0.577,0.729,0.577   c0.058,0,0.115-0.006,0.174-0.02c0.403-0.096,0.652-0.5,0.557-0.903c-1.294-5.47-0.041-11.431,0.469-13.452   c1.369-0.182,2.817-0.316,4.221-0.413c-0.614,1.405-1.272,3.872-1.366,8.095c-0.009,0.414,0.319,0.757,0.733,0.767   c0.006,0,0.012,0,0.017,0c0.407,0,0.741-0.325,0.75-0.733c0.114-5.125,1.09-7.389,1.603-8.233c2.003-0.104,3.757-0.141,4.825-0.153   c-2.21,4.38-4.201,9.337-4.326,9.65c-0.205,0.513,0.045,1.095,0.558,1.3c0.507,0.205,1.095-0.044,1.3-0.557   c0.045-0.114,4.577-11.399,7.399-14.744c2.54-3.011,4.347-4.543,4.714-4.843c1.014-0.505,2.747-1.035,3.452-0.634   c1.206,0.689,3.072,3.578,3.477,5.09c0.333,1.251,0.484,6.105,0.521,7.966c0.022,0.199,0.555,4.878,0.78,6.002   c0.098,0.527-0.421,2.901-0.968,4.789c-0.153,0.53,0.152,1.085,0.683,1.238c0.093,0.027,0.187,0.04,0.279,0.04   c0.434,0,0.833-0.284,0.96-0.722c0.16-0.552,0.507-1.801,0.758-3.033c1.947,5.215,4.599,12.586,5.193,15.557   c0.138,0.691,0.228,1.561,0.289,2.529c-0.866,1.433-3.37,5.229-6.557,7.03c-0.36,0.204-0.487,0.661-0.284,1.022   c0.139,0.244,0.393,0.381,0.654,0.381c0.125,0,0.251-0.031,0.368-0.097c2.528-1.428,4.599-3.892,5.916-5.748   c0.026,1.518,0.016,3.154,0,4.791c-0.759,1.068-2.699,3.462-5.421,4.387c-0.393,0.133-0.603,0.559-0.469,0.951   c0.106,0.313,0.397,0.509,0.71,0.509c0.08,0,0.161-0.013,0.241-0.04c2.12-0.721,3.787-2.158,4.917-3.394   c-0.01,1.47-0.008,2.836,0.033,4.033c-0.446,0.541-1.375,1.462-3.018,2.209c-0.377,0.171-0.544,0.616-0.372,0.993   c0.126,0.276,0.398,0.439,0.683,0.439c0.104,0,0.21-0.021,0.311-0.067c1.085-0.493,1.91-1.06,2.526-1.585   c0.088,0.847,0.213,1.548,0.407,2.013c0.631,1.514,1.647,3.125,2.63,4.683c0.764,1.21,1.484,2.354,1.873,3.23   c1.031,2.325,1.948,7.48,1.474,9.567c-0.122,0.539,0.216,1.074,0.754,1.197c0.074,0.017,0.149,0.025,0.223,0.025   c0.456,0,0.869-0.314,0.975-0.778c0.619-2.725-0.542-8.443-1.597-10.821c-0.447-1.009-1.206-2.212-2.01-3.487   c-0.938-1.488-1.909-3.026-2.476-4.385c-0.479-1.152-0.438-5.36-0.4-9.073c0.042-4.125,0.085-8.389-0.419-10.909   c-0.96-4.8-6.778-19.841-7.392-21.422c-0.109-0.887-0.206-1.713-0.261-2.185c-0.012-0.674-0.125-6.639-0.582-8.352   c-0.48-1.799-2.546-5.242-4.416-6.311c-1.951-1.116-5.1,0.455-5.45,0.638c-0.055,0.028-0.105,0.061-0.154,0.098   c-0.084,0.065-2.091,1.64-5.083,5.187c-0.724,0.858-1.532,2.154-2.346,3.634c-0.608-0.001-8.327-0.012-13.833,0.959   c-4.911,0.867-9.26,3.321-10.526,4.085l-7.725-1.763c-0.495-0.323-0.831-0.537-0.905-0.583c-2.063-1.053-8.951-4.285-10.95-1.692   c-2.044,2.657-0.137,5.776-0.052,5.914L17.658,30.69z M47.071,72.619c1,0.557,2.772,1.382,4.798,1.623   c-0.982,0.692-2.306,1.291-3.991,1.291h-0.001c-1.301,0-2.534-0.392-3.605-0.907C45.65,74.074,46.548,73.253,47.071,72.619z"/>
		<path id="bowtie" d="M35.727,94.59C36.1,94.861,36.533,95,36.973,95c0.288,0,0.578-0.06,0.856-0.181c2.702-1.193,5.372-2.958,7.949-5.239   c0.892,0.606,1.958,0.969,3.107,0.969c0.123,0,0.247-0.004,0.371-0.012c1.295-0.086,2.456-0.613,3.352-1.422   c2.857,1.926,5.742,3.328,8.589,4.16c0.197,0.057,0.397,0.084,0.595,0.084c0.534,0,1.052-0.204,1.454-0.588   c0.561-0.535,0.788-1.305,0.607-2.058c-0.394-1.664-0.535-3.291-0.422-4.836c0.093-1.234,0.011-2.476-0.244-3.69   c-0.316-1.515-0.39-3.148-0.218-4.853c0.079-0.773-0.248-1.507-0.876-1.963c-0.616-0.449-1.401-0.532-2.098-0.224   c-2.717,1.201-5.392,2.97-7.964,5.25c-0.988-0.677-2.203-1.047-3.51-0.967c-1.249,0.083-2.393,0.591-3.313,1.411   c-2.857-1.922-5.739-3.321-8.578-4.15c-0.729-0.212-1.498-0.028-2.051,0.499c-0.563,0.534-0.79,1.305-0.609,2.059   c0.395,1.667,0.536,3.295,0.422,4.841c-0.092,1.238-0.01,2.479,0.244,3.689c0.316,1.518,0.391,3.149,0.219,4.849   C34.775,93.4,35.102,94.133,35.727,94.59z M60.806,76.977c0.019-0.01,0.057-0.027,0.113,0.013c0.031,0.023,0.068,0.067,0.061,0.143   c-0.192,1.91-0.108,3.749,0.251,5.464c0.216,1.031,0.285,2.084,0.207,3.133c-0.129,1.75,0.029,3.583,0.471,5.447   c0.018,0.072-0.014,0.12-0.043,0.148c-0.05,0.049-0.093,0.035-0.11,0.03c-2.613-0.763-5.274-2.052-7.925-3.826   c0.45-0.87,0.681-1.865,0.612-2.911c-0.069-1.045-0.428-2.003-0.989-2.808C55.841,79.707,58.309,78.08,60.806,76.977z    M48.653,81.427c0.081-0.005,0.16-0.008,0.239-0.008c1.87,0,3.431,1.463,3.554,3.33c0.13,1.961-1.36,3.663-3.322,3.792   c-1.972,0.135-3.662-1.376-3.791-3.322c-0.063-0.95,0.247-1.868,0.875-2.584C46.835,81.919,47.704,81.49,48.653,81.427z    M35.958,78.64c0.05-0.048,0.092-0.034,0.112-0.028c2.602,0.759,5.254,2.042,7.898,3.806c-0.469,0.896-0.701,1.899-0.632,2.933   c0.069,1.052,0.439,2.016,1.01,2.825c-2.388,2.098-4.849,3.719-7.323,4.811c-0.019,0.007-0.06,0.029-0.117-0.014   c-0.032-0.023-0.068-0.066-0.061-0.142c0.192-1.906,0.107-3.743-0.252-5.462c-0.215-1.027-0.285-2.081-0.207-3.131   c0.13-1.75-0.028-3.584-0.471-5.452C35.898,78.715,35.93,78.667,35.958,78.64z"/>
	</g><!-- <text x="0" y="115" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">Created by Maxim Kulikov</text><text x="0" y="120" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">from the Noun Project</text> -->
</svg>
              
            
!

CSS

              
                svg{
  width:40%;
  margin:0 auto;
  display:block;
  
}


              
            
!

JS

              
                TweenMax.to("#bowtie", 2, {  
rotation: 1080,
delay: 1,
transformOrigin: "50% 50%",

}, 1);

TweenLite.fromTo("#bowtie", 2, 
   {x: '-=300px', y: '+=280px'}, 
   {x: 0, y: 0}
 );

TweenLite.to("#bowtie", 1.5,{ 
  delay:2.7,
  scaleY:.9, 
  scaleX:1.15, 
  ease:Elastic.easeOut 
});


TweenLite.to("#rightEye, #rightPupil", 1.5, {
	transformOrigin: "50% 50%",
	delay:3.5,
	skewY:5,
	scale:1.05,
	y:'+=1',
	ease:Power3.easeOut
});

TweenLite.to("#leftEye", 1.5, {
	transformOrigin: "50% 50%",
	delay:3.5,
	skewY:-5,
	scale:1.05,
	y:'+=1',
	ease:Power3.easeOut
});

TweenLite.to("#leftEye", .5, {
	transformOrigin: "50% 50%",
	delay:5,
	skewY:0,
	scale:1,
	y:'-=1',
	ease:Power3.easeIn
});

TweenLite.to("#rightEye, #rightPupil", .5, {
	transformOrigin: "50% 50%",
	delay:5,
	skewY:0,
	scale:1,
	y:'-=1',
	ease:Power3.easeIn
});

              
            
!
999px

Console