.container
	.card.smith
		blockquote ES6 is a large and important update to JavaScript that I'm really excited about. Whether you are building with a framework like React or websites in Vanilla JS, you are going to love everything about ES6. Wes' tutorials are among some of the best in our industry — I'd recommend learning ES6 with Wes to anyone looking to modernize and improve their JS skillset.
		section.info
			span.rectangle
			img(src="https://es6.io/images/dan.jpeg", alt="")
			cite Dan Abramov
				span.name <strong>@dan_abramov</strong>
				span.work React.js Core Developer • Creator of Redux • Facebook Engineer
			
	.card.nicole
		blockquote Wes is one of the most talented teachers I have ever seen in action. Since we started working together in 2012, his knowledge, energy and humour has helped 500+ students break past difficult learning hurdles and given them the skills and confidence to create amazing things. HackerYou wouldn’t be the same without Wes on our instructor team, and anyone who has the chance to learn from him should prepare to be inspired and delighted.
		section.info
			span.rectangle
			img(src="https://es6.io/images/heather.jpg", alt="")
			cite Heather Payne
				span.name <strong>@heatherpayne</strong>
				span.work CEO of HackerYou • Founder of Ladies Learning Code
View Compiled
body
	background: #c5c5c5
	margin: 20px
	font-family: 'Nunito Sans', sans-serif
.container
	display: flex
	@media(max-width: 940px)
		display: block
		padding: 1em
	.card
		box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)
		background: #fff
		height: 100%
		width: 50%
		border-radius: 3px
		&:nth-child(1)
			margin-right: 2em
			width: 40%
			@media(max-width: 940px)
				margin-right: 0
				width: 100%
				padding-bottom: 0
		&:nth-child(2)
			width: 60%
			@media(max-width: 940px)
				margin-top: 2em
				width: 100%
				padding-bottom: 0
		blockquote
			&:before,
				content: '"'
				padding-right: 0.5em
			&:after
				content: '"'
				padding-left: 0.5em
		@media(max-width: 940px)
			width: 100%
			padding: 1em 0
		.info
			border-bottom-left-radius: 3px
			border-bottom-right-radius: 3px
			background: #F7F7F7
			padding: 1em
			border-top: 1px solid #ccc
			position: relative
			&:after
				content: ""
				display: table
				clear: both
			span.rectangle
				&:after
					content: ''
					position: absolute
					left: 120px
					top: -10px
					transform: rotate(45deg)
					width: 20px
					height: 20px
					background: #fff
					border-right: 1px solid #ccc
					border-bottom: 1px solid #ccc
					display: block
			@media(max-width: 940px)
				margin: 0
			img
				border-radius: 50%
				display: block
				width: 100px
				margin: 10px 20px 0 0
				border: 3px solid #fff
				float: left
			cite
				display: block
				font-size: 20px
				margin-top: 20px
				@media (max-width: 480px)
					font-size: 16px
				span
					font-size: 12px
					position: relative
					margin-left: 20px
					cursor: pointer
					bottom: 3px
				.name
					@media (max-width: 414px)	
						margin-left: 0
						display: inline-block
				strong
					border-bottom: 1px solid orangered
					@media (max-width: 414px)
						display: block
						width: 85px
						margin-top: 10px
				.work
					display: block
					margin-top: 1em
					border-bottom: none
					font-style: normal
					@media (max-width: 320px)
						margin-top: 4em
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js