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.

            
                     <div class="container">
			<header>
				<audio src="http://youssefahmani.olympe.in/community-of-mind/media/community-of-mind.wav" autoplay loop>
					<span class="ko"><audio> non supportée !</span></audio><br/><br/>
			</header>
		<section class="rw-wrapper">
			<h2 class="rw-sentence">
				<div class="rw-words rw-words-2">
					<span>What</span>
					<span>we</span>
					<span>really</span>
					<span>are</span>
					<span>is</span>
					<span>a</span>
					<span>community</span>
					<span>of</span>
					<span>mind</span>
					<span>knitted</span>
					<span>together</span>
					<span>by </span>
					<span>:</span>
					<div id="elmnts" >
						<span>codes</span>
						<span>and symbols</span>
						<span>intuitions</span>
						<span>aspirations</span>
						<span>histories</span>
						<span>hopes</span>
					</div>
				</div>

			</h2>
		</section>
        </div>
            
          
!
            
              body{
	background: #ddd url(https://subtlepatterns.com/patterns/squairy_light.png) repeat center center;
}
.rw-wrapper{
	width: 80%;
	position: relative;
	margin: 30px auto 0 auto;
	font-family: 'Bree Serif';
	padding: 10px;
}
.rw-sentence{
	margin: 0;
	text-align: left;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}
.rw-sentence span{
	color: #444;
	white-space: nowrap;
	font-size: 200%;
	font-weight: normal;
}
.rw-words{
	display: inline;
	text-indent: 10px;
}
.rw-words span{
	/*position: absolute;*/
	float:left;
	opacity: 0;
	overflow: hidden;
	color: #6b969d;
}
#elmnts{
	float: left;
    margin: 0 20px;
    width: 242px;
}
#elmnts span{
	float: left;
}
.rw-words-2 span{
	-webkit-animation: rotateWordsSecond 18s linear infinite 0s;
	-moz-animation: rotateWordsSecond 18s linear infinite 0s;
	-o-animation: rotateWordsSecond 18s linear infinite 0s;
	-ms-animation: rotateWordsSecond 18s linear infinite 0s;
	animation: rotateWordsSecond 18s linear infinite 0s;
}
.rw-words span:nth-child(1) { 
    -webkit-animation-delay: 0.4s;  
	-moz-animation-delay: 0.4s; 
	-o-animation-delay: 0.4s; 
	-ms-animation-delay: 0.4s; 
	animation-delay: 0.4s;  
}
.rw-words span:nth-child(2) { 
    -webkit-animation-delay: 0.6s;  
	-moz-animation-delay: 0.6s; 
	-o-animation-delay: 0.6s; 
	-ms-animation-delay: 0.6s; 
	animation-delay: 0.6s; 
	color: #6b889d;
}
.rw-words span:nth-child(3) { 
    -webkit-animation-delay: 1s;  
	-moz-animation-delay: 1s; 
	-o-animation-delay: 1s; 
	-ms-animation-delay: 1s;  
	animation-delay: 1s; 
	color: #6b739d;	
}
.rw-words span:nth-child(4) { 
    -webkit-animation-delay: 1.3s;
	-moz-animation-delay: 1.3s; 
	-o-animation-delay:  1.3s;
	-ms-animation-delay:  1.3s; 
	animation-delay:  1.3s;
	color: #7a6b9d;
}
.rw-words span:nth-child(5) { 
    -webkit-animation-delay: 2.2s;
	-moz-animation-delay: 2.2s; 
	-o-animation-delay: 2.2s;
	-ms-animation-delay: 2.2s; 
	animation-delay: 2.2s;
	color: #8d6b9d;
}
.rw-words span:nth-child(6) { 
    -webkit-animation-delay: 2.4s;
	-moz-animation-delay: 2.4s; 
	-o-animation-delay: 2.4s;
	-ms-animation-delay: 2.4s; 
	animation-delay: 2.4s;
	color: #9b6b9d;
}
.rw-words span:nth-child(7) { 
    -webkit-animation-delay: 2.7s; 
	-moz-animation-delay: 2.7s; 
	-o-animation-delay: 2.7s; 
	-ms-animation-delay: 2.7s; 
	animation-delay: 2.7s; 
	color: #9b6b9d;
}
.rw-words span:nth-child(8) { 
    -webkit-animation-delay: 3.5s;
	-moz-animation-delay: 3.5s; 
	-o-animation-delay: 3.5s;
	-ms-animation-delay: 3.5s; 
	animation-delay: 3.5s; 
	color: #8d6b9d;
}
.rw-words span:nth-child(9) { 
    -webkit-animation-delay: 3.8s;
	-moz-animation-delay: 3.8s; 
	-o-animation-delay: 3.8s;
	-ms-animation-delay: 3.8s; 
	animation-delay: 3.8s;
	color: #9b6b9d;
}
.rw-words span:nth-child(10) { 
    -webkit-animation-delay: 4.9s;
	-moz-animation-delay: 4.9s; 
	-o-animation-delay: 4.9s;
	-ms-animation-delay: 4.9s; 
	animation-delay: 4.9s;
	color: #6b889d;
}
.rw-words span:nth-child(11) { 
    -webkit-animation-delay: 5.3s;
	-moz-animation-delay: 5.3s; 
	-o-animation-delay: 5.3s;
	-ms-animation-delay: 5.3s; 
	animation-delay: 5.3s;
	color: #9b6b9d;
}
.rw-words span:nth-child(12) { 
    -webkit-animation-delay: 6s; 
	-moz-animation-delay: 6s; 
	-o-animation-delay: 6s; 
	-ms-animation-delay: 6s;  
	animation-delay: 6s; 
	color: #9b6b9d;
}
.rw-words span:nth-child(13) { 
    -webkit-animation-delay: 6s;
	-moz-animation-delay: 6s; 
	-o-animation-delay: 6s;
	-ms-animation-delay: 6s; 
	animation-delay: 6s;
	color: #9b6b9d;
}

#elmnts span:nth-child(1) { 
    -webkit-animation-delay: 6.4s;
	-moz-animation-delay: 6.4s; 
	-o-animation-delay: 6.4s;
	-ms-animation-delay: 6.4s; 
	animation-delay: 6.4s;
	color: #9b6b9d;
}
#elmnts span:nth-child(2) { 
    -webkit-animation-delay: 7.4s;
	-moz-animation-delay: 7.4s; 
	-o-animation-delay: 7.4s;
	-ms-animation-delay: 7.4s; 
	animation-delay: 7.4s;
	color: #6b739d;
}
#elmnts span:nth-child(3) { 
    -webkit-animation-delay: 8.5s;
	-moz-animation-delay: 8.5s; 
	-o-animation-delay: 8.5s;
	-ms-animation-delay: 8.5s; 
	animation-delay: 8.5s;
	color: #6b969d;
}
#elmnts span:nth-child(4) { 
    -webkit-animation-delay: 9.5s;
	-moz-animation-delay: 9.5s; 
	-o-animation-delay: 9.5s;
	-ms-animation-delay: 9.5s; 
	animation-delay: 9.5s;
	color: #6b889d;
}
#elmnts span:nth-child(5) { 
    -webkit-animation-delay: 11.1s;
	-moz-animation-delay: 11.1s; 
	-o-animation-delay: 11.1s;
	-ms-animation-delay: 11.1s;
	animation-delay: 11.1s;
	color: #7a6b9d;
}
#elmnts span:nth-child(6) { 
    -webkit-animation-delay: 12.5s;
	-moz-animation-delay: 12.5s; 
	-o-animation-delay: 12.5s;
	-ms-animation-delay: 12.5s;
	animation-delay: 12.5s; 
	color: #6b969d;
}

@-webkit-keyframes rotateWordsSecond {
    0% { opacity: 1; -webkit-animation-timing-function: ease-in; }
    100% { opacity: 1; }
}
@-moz-keyframes rotateWordsSecond {
    0% { opacity: 1; -moz-animation-timing-function: ease-in; }
    100% { opacity: 1; }
}
@-o-keyframes rotateWordsSecond {
    0% { opacity: 1; -o-animation-timing-function: ease-in; }
    100% { opacity: 1; }
}
@-ms-keyframes rotateWordsSecond {
    0% { opacity: 1; -ms-animation-timing-function: ease-in; }
    100% { opacity: 1; }
}
@keyframes rotateWordsSecond {
    0% { opacity: 1; animation-timing-function: ease-in; }
    100% { opacity: 1; }
}
@media screen and (max-width: 768px){
	.rw-sentence { font-size: 18px; }
}
@media screen and (max-width: 320px){
	.rw-sentence { font-size: 9px; }
}
            
          
!
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