JSFiddle - React, Tailwind, and code Playground

by Peter Sandoval Moreno

HTML

<div class="camara">
    <div class="lente">
        <div class="reflejo"></div>
			<div class="sombra"></div>
		</div>
	<div class="encender"></div>
	<div class="izquierda"></div>
	<div class="derecha"></div>
	<div class="flash"></div>
</div>

CSS

body {
	margin: 0;
	padding: 0;
	background: #1FAAB7;
}

.camara {
	width: 400px;
	height: 245px;
	background: linear-gradient(
                #69CBDC 32%,
                #F05027 32%,
                #F05027 64%,
                #69CBDC 64%
		        );
	border-radius: 5px;
	
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

.camara:before {
	content: "";
	width: 440px;
	height: 3px;
	background: #18949A;

	position: absolute;
	left: -20px;
	bottom: 5px;

	z-index: -1;
}

.camara:after {
	content: "";
	width: 420px;
	height: 20px;
	background: #18949A;

	position: absolute;
	left: -10px;
	bottom: -12px;

	z-index: -1;
}

.lente {
	width: 160px;
	height: 160px;
	background: #121314;
	box-shadow: 0px 0px 0px 10px #5E6667 inset,
				0px 0px 0px 20px #444A4A inset,
				0px 0px 0px 30px #242827 inset,
				0px 10px 0px 0px #1FAAB7;
	border-radius: 50%;
	border: 20px solid #DCEAEC;

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.reflejo {
	width: 100px;
	height: 80px;
	background: rgba(242,241,241,0.7);
	border-radius: 50%;

	position: absolute;
	left: 50%;
	top: 10px;
	transform: translateX(-50%);

}

.sombra {
	width: 100px;
	height: 60px;
	background: transparent;
	border-radius: 50%;
	box-shadow: 0px 15px 0px 0px rgba(105,203,220,0.3);

	position: absolute;
	left: 50%;
	bottom: 25px;
	transform: translateX(-50%);
}

.encender {
	width: 65px;
	height: 20px;
	background: #DCEAEC;

	position: absolute;
	top: -20px;
	left: 35px;
}

.izquierda {
	width: 10px;
	height: 40px;
	background: #DCEAEC;

	position: absolute;
	top: 15px;
	left: -10px;
}

.derecha {
	width: 10px;
	height: 40px;
	background: #DCEAEC;

	position: absolute;
	top: 15px;
	right: -10px;
}

.flash {
	width: 80px;
	height: 22px;
	background: -webkit-linear-gradient(
		        left,
		        #E7EFF0 13px,
		        #FFFFFF 13px,
		        #FFFFFF 15px,
		        #E7EFF0 15px,
		        #E7EFF0 18px,
		        #FFFFFF 18px,
		       ...