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.

            
              <body class="bckground"> 
	
	<div class="header">#letsnailit!</div>
	
				<div class="wrapper">
		
					<div class="snail1 hov"></div>
					<div class="snail2 hov"></div>
					<div class="snail3 hov"></div>
					<div class="snail4 hov"></div>
					<div class="snail5 hov"></div>
					<div class="snail6 hov"></div>
					<div class="snail7 hov"></div>

				</div>
	
	</body>
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Amatic+SC:700&subset=latin-ext');
	
	/* Here comes the background properties */
	
	
			.bckground {
			
				background-image: url(https://www.dropbox.com/s/2p9dapjzjamo423/bckgd2.jpg?raw=1);
				background-repeat: no-repeat;
				background-position: center;
				background-size: cover;
			}
			
			.header {
			
				font-family: 'Amatic SC', cursive;
				font-size: 70px;
				color: rgb(230, 249, 255);
				background-color: rgba(0, 102, 102, 0.6);
				text-align: center;
				padding: 8px;
			
			}
			
			* {box-sizing: border-box;}
			
	/* Here comes the grid properties */		
			
			.wrapper {
				background-color: rgba(0, 102, 102, 0.6);
				padding: 20px;

			}
			
			.wrapper > div {
				border: 3px solid rgba(0, 102, 102, 0.6);
				border-radius: 10px;
				background-color: white;
				padding: 1em;
				background-position: center;
				background-size: cover;
				overflow: hidden;
			}
			
			.wrapper {
				display: grid;
				margin: 5px auto;
				width: 100%;
				max-width: 1200px;
				grid-template-columns: 1fr;
				grid-auto-rows: minmax(400px, auto);
				grid-gap: 15px;

			}

	/* Here comes the default grid */		

			.snail1 {
				grid-column: 1;
				grid-row: 1 / 2;
				background-image: url(https://www.dropbox.com/s/5bz5b6ottyrwy37/snail1.jpg?raw=1);
				
			}
			
			.snail2 { 
				grid-column: 1;
				grid-row: 2 / 3;
				background-image: url(https://www.dropbox.com/s/fy6pu3y70s8564i/snail2.jpg?raw=1);
			}
			
			.snail3 {
				grid-column: 1;
				grid-row: 3 / 4; 
				background-image: url(https://www.dropbox.com/s/onc7gp0lkpxmxs6/snail3.jpg?raw=1);
			}
			
			.snail4 {
				grid-column: 1;
				grid-row: 4 / 5;
				background-image: url(https://www.dropbox.com/s/9e42z9ju6pvvt76/snail4.jpg?raw=1);
			}

			.snail5 {
				grid-column: 1;
				grid-row: 5 / 6;
					background-image: url(https://www.dropbox.com/s/0x3qrpxt4zuoz3v/snail5.jpg?raw=1);
			}
			
			.snail6 {
				grid-column: 1;
				grid-row: 6 / 7; 
				background-image: url(https://www.dropbox.com/s/jbejd0490ix8a3f/snail6.jpg?raw=1);
			}
			
			.snail7 {
				grid-column: 1;
				grid-row: 7 / 8;
				background-image: url(https://www.dropbox.com/s/yktegxxrqmbrl09/snail7.jpg?raw=1);
			}
			
	/* Here comes the grid for bigger screen */		
			
			@media screen and (max-width: 768px) and (min-width: 577px) {
				.wrapper {
					grid-template-columns: 1fr 1fr;
					grid-auto-rows: minmax(150px, auto);
				
				}
				.snail1 {
					grid-column: 1 / 2;
					grid-row: 1 / 3;
					background-image: url(https://www.dropbox.com/s/5bz5b6ottyrwy37/snail1.jpg?raw=1);
				
				}
			
				.snail2 { 
					grid-column: 2 / 3;
					grid-row: 1 / 5;
					background-image: url(https://www.dropbox.com/s/fy6pu3y70s8564i/snail2.jpg?raw=1);
				}
			
				.snail3 {
					grid-column: 1 / 2;
					grid-row: 5/ 6; 
					background-image: url(https://www.dropbox.com/s/onc7gp0lkpxmxs6/snail3.jpg?raw=1);
				}
			
				.snail4 {
					grid-column: 1 / 2;
					grid-row: 6 / 7;
					background-image: url(https://www.dropbox.com/s/9e42z9ju6pvvt76/snail4.jpg?raw=1);
				}

				.snail5 {
					grid-column: 1 / 2;
					grid-row: 3 / 4;
					background-image: url(https://www.dropbox.com/s/0x3qrpxt4zuoz3v/snail5.jpg?raw=1);
				}
			
				.snail6 {
					grid-column: 1 / 2;
					grid-row: 4 / 5; 
					background-image: url(https://www.dropbox.com/s/jbejd0490ix8a3f/snail6.jpg?raw=1);
				}
			
				.snail7 {
					grid-column: 2 / 3;
					grid-row: 5 / 7; 
					background-image: url(https://www.dropbox.com/s/yktegxxrqmbrl09/snail7.jpg?raw=1);
				}
			
			}

	/* Here comes the grid for max screen */		

			@media screen and (min-width: 769px) {
				.wrapper {
					grid-template-columns: 1fr 1fr 1fr;
					grid-auto-rows: minmax(200px, auto);
				
				}
				.snail1 {
					grid-column: 1 / 2;
					grid-row: 1 / 3;
					background-image: url(https://www.dropbox.com/s/5bz5b6ottyrwy37/snail1.jpg?raw=1);
					
				}
				
				.snail2 { 
					grid-column: 2 / 3;
					grid-row: 1 / 5;
					background-image: url(https://www.dropbox.com/s/fy6pu3y70s8564i/snail2.jpg?raw=1);
				}
				
				.snail3 {
					grid-column: 3 / 4;
					grid-row: 2 / 3; 
					background-image: url(https://www.dropbox.com/s/onc7gp0lkpxmxs6/snail3.jpg?raw=1);
				}
				
				.snail4 {
					grid-column: 3 / 4;
					grid-row: 1 / 2;
				background-image: url(https://www.dropbox.com/s/9e42z9ju6pvvt76/snail4.jpg?raw=1);
				}

				.snail5 {
					grid-column: 1 / 2;
					grid-row: 3 / 4;
					background-image: url(https://www.dropbox.com/s/0x3qrpxt4zuoz3v/snail5.jpg?raw=1);
				}
				
				.snail6 {
					grid-column: 1 / 2;
					grid-row: 4 / 5;
					background-image: url(https://www.dropbox.com/s/jbejd0490ix8a3f/snail6.jpg?raw=1);
				}
				
				.snail7 {
					grid-column: 3 / 4;
					grid-row: 3 / 5; 
					background-image: url(https://www.dropbox.com/s/yktegxxrqmbrl09/snail7.jpg?raw=1);
				}
			
			}

			
			.hov:hover {
			
			transform: scale(1.04);
			-webkit-transition: transform 1s ease-in-out;
			-ms-transition: transform 1s ease-in-out;
			}
            
          
!
999px
Loading ..................

Console