This file contains hidden or 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
h1 | |
{ | |
text-shadow: 5px 5px 5px #FF0000; | |
} |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
@font-face | |
{ | |
font-family: myFirstFont; | |
src: url(sansation_light.woff); | |
} |
This file contains hidden or 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
#div1 | |
{ | |
-ms-transform: rotate(30deg); /* IE 9 */ | |
-webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */ | |
transform: rotate(30deg); | |
} | |
#div2 | |
{ | |
-ms-transform: translate(50px,100px); /* IE 9 */ |
This file contains hidden or 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
#div1 | |
{ | |
-webkit-transform: rotateX(120deg); /* Chrome, Safari, Opera */ | |
transform: rotateX(120deg); | |
} | |
#div2 | |
{ | |
-webkit-transform: rotateY(130deg); /* Chrome, Safari, Opera */ | |
transform: rotateY(130deg); |
This file contains hidden or 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
#div1 | |
{ | |
-webkit-transition: width 2s; /* For Safari 3.1 to 6.0 */ | |
transition: width 2s; | |
} |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
div | |
{ | |
width:100px; | |
height:100px; | |
background:red; | |
-webkit-animation:myfirst 5s; /* Chrome, Safari, Opera */ |
This file contains hidden or 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
!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.newspaper | |
{ | |
-webkit-column-count:3; /* Chrome, Safari, Opera */ | |
-moz-column-count:3; /* Firefox */ | |
column-count:3; | |
} |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>JavaScript</h1> | |
<p>Click Date to display current day, date, and time.</p> | |
<button type="button" onclick="myFunction()">Date</button> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>My First Web Page</h1> | |
<p id="demo">My First Paragraph.</p> | |
<script> | |
document.getElementById("demo").innerHTML = "Paragraph changed."; |
This file contains hidden or 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
<!-- Code is written in a .js file, included via the script tag src attribute. --> | |
<script src="/path/to/example.js"></script> |