This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
<header> | |
<div>Hello World</div> | |
</header> | |
</body> | |
<footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.rect{ | |
postion: fixed; | |
width: 200px; | |
height: 200px; | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
transform :rotate(50deg); | |
margin-left: 45%; | |
margin-top: 15%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.mborders{ | |
position: relative; | |
width: 150px; | |
height: 150px; | |
margin: 25px; | |
background: yellowgreen; | |
border: 10px solid #567; | |
/* outline-offset: 10px; | |
outline: 8px dashed #655; */ | |
box-shadow: 0 0 0 10px #655, 0 0 0 15px deeppink,0 2px 5px 15px rgba(0,0,0,.8); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Border-Radius Demo */ | |
.quart{ | |
background: #655; | |
border-radius: 100% 0 0 0; | |
width: 100px; | |
height: 100px; | |
margin: 85px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Gradients Demo */ | |
.g1{ | |
background: linear-gradient(#fb3 50%, #58a 50%); | |
background-size: 100% 30px; | |
background-repeat: no-repeat; | |
width: 200px; | |
height:200px; | |
margin: 20px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSS Grids using Gradients Demo */ | |
.g1{ | |
background: white; | |
background-image: linear-gradient(90deg, | |
rgba(200,0,0,.5) 50%, transparent 0), | |
linear-gradient(rgba(200,0,0,.5) 50%, | |
transparent 0); | |
background-size: 30px 30px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS Dots & Checker Board using Gradients Demo */ | |
.g1{ | |
background: #655; | |
background-image: radial-gradient(tan 30%, transparent 0); | |
background-size: 30px 30px; | |
width: 200px; | |
height:200px; | |
margin: 20px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS Random Backgrounds using Gradients Demo */ | |
/* It repeats after 240px since LCM OF 80*60*40=240 */ | |
.r1{ | |
background: hsl(20, 40%, 90%); | |
background-image: | |
linear-gradient(90deg, #fb3 10px, transparent 0), | |
linear-gradient(90deg, #ab4 20px, transparent 0), | |
linear-gradient(90deg, #655 20px, transparent 0); | |
background-size: 80px 100%, 90px 100%, 40px 100%; | |
width: 200px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS Border Image Demo using Gradients */ | |
.bi{ | |
padding: 1em; | |
border: 1em solid transparent; | |
background: linear-gradient(white, white), | |
url("http://3.imimg.com/data3/HO/LB/MY-9934284/rainbow-and-teakwood-stone-mosaic-tiles-250x250.jpg"); | |
background-size: cover; | |
background-clip: padding-box, border-box; | |
background-origin: border-box; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS Demo on unit em. | |
Edit the font-size & number of em units to observe the effect */ | |
body{ | |
font-size: 24px; | |
} | |
.bi { | |
background: green; | |
color: white; |
OlderNewer