cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-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 id="container">
	<p>Stay updated with our newsletter</p>
		<input type="email" placeholder="Type your Email" required>
              /* fonts  */
@import url('https://fonts.googleapis.com/css?family=Abel|Aguafina+Script|Artifika|Athiti|Condiment|Dosis|Droid+Serif|Farsan|Gurajada|Josefin+Sans|Lato|Lora|Merriweather|Noto+Serif|Open+Sans+Condensed:300|Playfair+Display|Rasa|Sahitya|Share+Tech|Text+Me+One|Titillium+Web');

body {
/* 	background-image: linear-gradient(to top, #cd9cf2 0%, #f6f3ff 100%); */
	background: url(https://static.pexels.com/photos/5782/nature-flowers-vintage-plant.jpg);
	background-attachment: fixed;
	margin: 0;

	background-image: linear-gradient(to top, rgba(205, 156, 242, 0.40) 0%, rgba(246, 255, 255, 0.71) 100%);
	box-shadow: 0 15px 30px 1px rgba(128, 128, 128, 0.31);
	text-align: center;
	border-radius: 5px;
	margin: 3em auto;
	background: rgba(255, 255, 255, 0.95);
	height: 300px;
	width: 480px;
	padding: 1em;
	position: fixed;
	bottom: 0;
	right: 0;
	left: 0;
	top: 0;	

#container h2 {
	background: url(https://static.pexels.com/photos/5782/nature-flowers-vintage-plant.jpg);
		/*   الكود المسؤال عن اضافة شفافية للنص */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
/* 	background-image: linear-gradient(to top, #cd9cf2 0%, #f6f3ff 100%); */
	font-family: 'Playfair Display', serif;
	background-repeat: no-repeat;
	background-attachment: fixed;
	letter-spacing: 2px;
	font-size: 3.5em;
	margin: 0;

#container p {
	font-family: 'Farsan', cursive;
	margin: 3px 0 1.5em 0;
	font-size: 1.3em;
	color: #7d7d7d;

#container input {
/* 	background: rgba(255, 13, 254, 0.90); */
	width: 210px;
	display: inline-block;
	text-align: center;
	border-radius: 7px;
	background: #eee;
	padding: 1em 2em;
	outline: none;
	border: none;
	color: #222;
	transition: 0.3s linear;
::placeholder{color: #999;}
#container input:focus {background: rgba(0, 0, 333, 0.10);}

#container button {
	background-image: linear-gradient(to left, rgba(255, 146, 202, 0.75) 0%, rgba(145, 149, 251, 0.86) 100%);
	box-shadow: 0 9px 25px -5px #df91fb;
	font-family: 'Abel', sans-serif;
	padding: 0.5em 1.9em;
	margin: 2.3em 0 0 0;
	border-radius: 7px;
	font-size: 1.4em;
	cursor: pointer;
	color: #FFFFFF;
	font-size: 1em;
	outline: none;
	border: none;
	transition: 0.3s linear;

#container button:hover{transform: translatey(2px);}
#container button:active{transform: translatey(5px);}
              // font-family: 'Merriweather', serif;
// font-family: 'Lora', serif;
// font-family: 'Open Sans Condensed', sans-serif;
// font-family: 'Droid Serif', serif;
// font-family: 'Playfair Display', serif;
// font-family: 'Josefin Sans', sans-serif;
// font-family: 'Titillium Web', sans-serif;
// font-family: 'Athiti', sans-serif;
// font-family: 'Noto Serif', serif;
// font-family: 'Dosis', sans-serif;
// font-family: 'Gurajada', serif;
// font-family: 'Aguafina Script', cursive;
// font-family: 'Share Tech', sans-serif;
// font-family: 'Artifika', serif;
// font-family: 'Text Me One', sans-serif;
// font-family: 'Rasa', serif;
// font-family: 'Condiment', cursive;
// font-family: 'Farsan', cursive;
// font-family: 'Lato', sans-serif;
// font-family: 'Abel', sans-serif;

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.


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