Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Online CSS Editor

css

/*
First version:
    I'll have a word. That word will not be immediately displayed on the page
    With a click the word will appear. With another click the word will hide

//var words = ["One", "Two", "Three", "Four", "Five"];

/* var signs;

  $(document).ready(function() {

    var options = {
      "url": "https://portal.oldnational.com/divisions/it/marioSite/_api/web/lists/getbytitle('signsLearned')/items?$top=500",
      "method": "GET",
      "headers": {
        "Accept": "application/json; odata=verbose"
      }
    }

    $.ajax(options).done(function(response) {
      console.log(response);
      console.log(response.d.results);
      signs = response.d.results;
    });

  });
//////////////// SharePoint version//////////////
function nextWord() {
  document.getElementById("showWord").innerHTML = signs[i].Title;
  if (i < signs.length - 1) {
    i++;
  } else {
    i = 0;
  }
}
*/
//////////////////Local version//////////////////
var words = [
  "Name",
  "I (self)",
  "You",
  "We",
  "Us",
  "Our",
  "girl",
  "boy",
  "daughter",
  "son",
  "Woman",
  "Man",
  "Wife",
  "Husband",
  "Marriage",
  "Baby",
  "Mom",
  "Dad",
  "Parents",
  "Grandma",
  "Grandpa",
  "Aunt",
  "Uncle",
  "Family",
  "team",
  "Home",
  "House",
  "fire",
  "Outside",
  "Inside",
  "up",
  "down",
  "Rain",
  "Sunshine",
  "wet",
  "dry",
  "time",
  "temperature",
  "hot",
  "Cold",
  "cool (temperature)",
  "warm (temperature)",
  "Sunday",
  "Monday",
  "Tuesday",
  "Wednesday",
  "Thursday",
  "Friday",
  "Saturday",
  "Morning",
  "This morning",
  "Night",
  "Tonight",
  "Last Night",
  "Yesterday",
  "Yes. Morning",
  "Today",
  "tomorrow",
  "Day",
  "Week",
  "Weekend",
  "Month",
  "Year",
  "future / would",
  "always",
  "forever",
  "never",
  "past",
  "Far",
  "Near",
  "yes",
  "no",
  "can / could",
  "can't",
  "from",
  "need / should",
  "want",
  "take",
  "put",
  "get",
  "have",
  "make",
  "some",
  "a lot",
  "a little",
  "all",
  "full (limit)",
  "nothing",
  "Everything",
  "mistake",
  "hard / difficult",
  "easy",
  "practice",
  "more",
  "slow",
  "fast",
  "stop",
  "but",
  "so",
  "and",
  "to",
  "for",
  "like",
  "don't",
  "Good",
  "Bad",
  "Very",
  "gross",
  "sloppy",
  "confusing",
  "super / awesome",
  "again",
  "same",
  "Switch",
  "Other",
  "Still",
  "Color",
  "red",
  "orange",
  "yellow",
  "green",
  "blue",
  "purple",
  "black",
  "live",
  "America",
  "American",
  "France",
  "English",
  "Mexico",
  "share",
  "it",
  "with",
  "What's up?",
  "help",
  "Please",
  "Thank You",
  "who",
  "what",
  "when",
  "where",
  "Why",
  "How",
  "Feel",
  "love",
  "Tired",
  "Mad / Angry",
  "Happy",
  "Sad",
  "Surprise",
  "Sick",
  "Cold (sick)",
  "Sneeze",
  "Annoying",
  "Mean (not nice)",
  "hurt",
  "Understand",
  "Complain",
  "Explain",
  "Enjoy",
  "Fun",
  "Try",
  "Idea",
  "touch",
  "Walk",
  "Run",
  "fall (down)",
  "dance",
  "swim",
  "scuba",
  "paint",
  "pee",
  "poop",
  "say",
  "conversation",
  "talk",
  "draw (art)",
  "Design",
  "learn",
  "learning",
  "Student",
  "read",
  "study",
  "spell",
  "know",
  "don't know",
  "Forget",
  "see",
  "work",
  "alphabet",
  "cool (neat)",
  "photography",
  "typing",
  "score (a point)",
  "point (action)",
  "invent (make up)",
  "make-up (face)",
  "Sign (language)",
  "Words",
  "Progress",
  "Report",
  "list",
  "Ordinals",
  "Paper",
  "Staple",
  "Table",
  "Tree",
  "Gym",
  "Chair",
  "Computer",
  "Lazy",
  "Sleep",
  "Motorcycle",
  "street",
  "car",
  "book",
  "fish",
  "video game",
  "Pencil",
  "Phone",
  "angle",
  "spider",
  "shop",
  "ghost",
  "mermaid",
  "Web",
  "Eat",
  "Drink",
  "Coffee",
  "Wine",
  "Water",
  "chocolate",
  "ice cream",
  "Pizza",
  "banana",
  "sandwich",
  "chicken",
  "salad",
  "candy",
  "apple",
  "popcorn",
  "Dessert",
  "Sweet",
  "Cupcake",
  "cookie",
  "fruit",
  "vegetable",
  "strawberry",
  "meat",
  "juice",
  "snack",
  "bacon",
  "egg",
  "pancake",
  "lunch",
  "breakfast",
  "dinner",
  "syrup",
  "toast",
  "bread",
  "wheat",
  "cereal",
  "soup",
  "Cup",
  "full (stomach)",
  "hungry",
  "Go",
  "Scare / Scary",
  "Monster",
  "Fine",
  "Print",
  "Flower",
  "Rose",
  "Restaurant",
  "favorite",
  "yet",
  "grow up",
  "on",
  "off",
  "turn",
  "video",
  "hate",
  "new",
  "old",
  "young",
  "people",
  "better",
  "worse",
  "above",
  "below",
  "before",
  "after",
  "later",
  "earlier",
  "video",
  "movie",
  "story",
  "sleep",
  "wake",
  "ask",
  "question",
  "answer",
  "black",
  "white",
  "boring",
  "interesting",
  "funny",
  "fun",
  "laugh",
  "cry",
  "something",
  "almost",
  "yet",
  "sometimes",
  "Win",
  "Winner",
  "Loser",
  "hate",
  "less",
  "pop",
  "that",
  "this",
  "Haircut",
  "build",
  "Laptop",
  "weird",
  "trouble",
  "Headache",
  "glove",
  "order",
  "laugh",
  "strong",
  "weak",
  "glove",
  "order",
  "do",
  "peek"
];
words.sort(function(a, b) {
  return 0.5 - Math.random();
});





var i = undefined;


// This is where Dalon's code starts
    
// Here we create a class called Card, Card contains Card Word and Card Number along with future functions that I will add

let Card =  class{
  constructor(CWord, CNumb){
    this.CWord = CWord;
  this.CNumb = CNumb;
  }
};

// Here we create empty arrays Deck and DeckHolder, Deck holds all the card objects we create and Deck holder is made
// to hold and sort all the decks we create

var Deck = [];
var DeckHolder = [];

// This function does a lot, First it makes sure that the Deck object is empty every time it is called(pretty much clearing it)
// , Then it makes a new variable that is just a copy of words, Then it sorts that variable. Then it runs a foreach
// Which I will change to a for soon, that pushes every string in the array and converts them to a Card object using
// The string as the CardWord and the array index as the CardNumber, Then every time a card is created it pushes that 
// card into the Deck array. Then when all the words in Containr are converted and placed into the Deck Array
// the Deck is then placed into the DeckHolder array

function MakeDeck() {
  Deck = [];
  var Containr = words;
  Containr.sort(function(a,b){
    return a - b;
  });
  Containr.forEach( function(value, i)  {
    
    var Filler = new Card(value, i);
    console.log(Filler.CWord, Filler.CNumb);
    Deck.push(Filler);
    
    
  });
  DeckHolder.push(Deck);

}

// Here I am just testing to make sure that each deck is the same size and that each deck is properly pushed into the 
// DeckHolder Array, If I didnt make sure that Deck was empty on every call of the DeckMaker function, it would just 
// make an array of deck and deck would just be give 300+ cards over and over again

function PrintDeck(){
  console.log(DeckHolder, DeckHolder.length);
  DeckHolder.forEach(function(value){
    console.log(value[0].CWord, value[1].CWord, value[2].CWord);
  })
}

// Here we make a class called Update, we're gonna use this to update the cards instead of manually 
// typing out "update x card"

let Update = class{
  constructor(EleName, EleNum){
    this.EleName = EleName;
    this.EleNum = EleNum;
  }

  UpDisplay(UpInput) {
    document.getElementById(String(this.EleName)).innerHTML = UpInput;
  }
}
  let ElementList =  [
    new Update ("showWord0", 0),
    new Update ("showWord1", 1),
    new Update ("showWord2", 2),
    new Update ("showWord3", 3)
  ];

  let CurrentDeck;
  let CurrentDeckNum = 0;

  let CurrentCard = 0;

  function nextWord() {

    CurrentDeck = DeckHolder[CurrentDeckNum];
    if (i < CurrentDeck.length - 1 ){
      i++;
    }else{
      i = 0;
    }  
    if(CurrentCard < ElementList.length - 1){
      CurrentCard++;
    }else{
      CurrentCard = 0;
    }
    ElementList[CurrentCard].UpDisplay(CurrentDeck[i].CWord);
    console.log(ElementList.length, CurrentCard);
  }

  function CreateCards(){
    var type2 = document.createElement("div");
    var butn = document.createTextNode("Test Boy");
    type2.appendChild(butn);
    type2.setAttribute("id", ("Test" + ElementList.length));
    type2.setAttribute("class", "card");
    var elem = document.getElementById("cards");
    elem.appendChild(type2);
    ElementList.push(new Update(type2.id, (ElementList.length + 1)));
    console.log(ElementList);
  }

  function ChangeDeck(){
    CurrentDeckNum = Number(document.getElementById("NumVal").value);
    console.log(CurrentDeckNum, document.getElementById("NumVal").value);

    if(CurrentDeckNum > DeckHolder.length || CurrentDeckNum < 0){
      CurrentDeckNum = 0;
      document.getElementById("NumVal").value = CurrentDeckNum;
    }
    console.log(CurrentDeckNum);
    
  }
// function nextWord() {
//   if (i < words.length - 1) {
//     i++;
//   } else {
//     i = 0;
//   }
//   document.getElementById("showWord").innerHTML = words[i];
//   if (i < words.length - 1) {
//     i++;
//   } else {
//     i = 0;
//   }
//   document.getElementById("showWord1").innerHTML = words[i];
//   if (i < words.length - 1) {
//     i++;
//   } else {
//     i = 0;
//   }
//   document.getElementById("showWord2").innerHTML = words[i];
//   if (i < words.length - 1) {
//     i++;
//   } else {
//     i = 0;
//   }
//   document.getElementById("showWord3").innerHTML = words[i];
// }

// function LastWord() {
//   if (i >= 1 && i <= words.length - 1) {
//     i--;
//   } else {
//     i = words.length - 1;
//   }
//   document.getElementById("showWord").innerHTML = words[i];
//   if (i >= 1 && i <= words.length - 1) {
//     i--;
//   } else {
//     i = words.length - 1;
//   }
//   document.getElementById("showWord1").innerHTML = words[i];
//   if (i >= 1 && i <= words.length - 1) {
//     i--;
//   } else {
//     i = words.length - 1;
//   }
//   document.getElementById("showWord2").innerHTML = words[i];
//   if (i >= 1 && i <= words.length - 1) {
//     i--;
//   } else {
//     i = words.length - 1;
//   }
//   document.getElementById("showWord3").innerHTML = words[i];
// }

Online CSS Editor

css

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
	<style>
		h1 {color: red; font-size: 100px; }
	    h2 {background:#ccc; color:#000; border: solid black 1px;font-size:120px;
	    }
	    p  {color: black; font-size:120px; border: solid black 10px;}
	</style>
</head>
<body>
	<h2> Welcome to Fresco Play </h2>
</body

</html>

Bobilon

css

<!DOCTYPE html>
<html>
<title>My Title</title>
<head>
<style>
div
{
   width:100px;
   height:70px;
   background-color:red;
   border:1px solid black;
}
#div2
{
   transform:rotate(30deg);
   -ms-transform:rotate(30deg); /* IE 9 */
   -moz-transform:rotate(30deg); /* Firefox */
   -webkit-transform:rotate(30deg); /* Safari and Chrome */
   -o-transform:rotate(30deg); /* Opera */
   background-color:yellow;
}
</style>
</head>
<body>
<div>Hello, World!</div>
<div id="div2">Hello CSS3!</div>
</body>
</html>

https://fleshas.lt/test/css3/

css

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<style>
div
{
   width:100px;
   height:75px;
   background-color:red;
   border:1px solid black;
}
#div2
{
   transform:rotate(30deg);
   -ms-transform:rotate(30deg); /* IE 9 */
   -moz-transform:rotate(30deg); /* Firefox */
   -webkit-transform:rotate(30deg); /* Safari and Chrome */
   -o-transform:rotate(30deg); /* Opera */
   background-color:yellow;
}
</style>
</head>
<body>
<div>Hello, World!</div>
<div id="div2">Hello, CSS3!</div>
</body>
</html>

luam

css

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<style>
div
{
   width:100px;
   height:75px;
   background-color:red;
   border:1px solid black;
}
#div2
{
   transform:rotate(30deg);
   -ms-transform:rotate(30deg); /* IE 9 */
   -moz-transform:rotate(30deg); /* Firefox */
   -webkit-transform:rotate(30deg); /* Safari and Chrome */
   -o-transform:rotate(30deg); /* Opera */
   background-color:yellow;
}
</style>
</head>
<body>
<div>Hello, World!</div>
<div id="div2">Hello, CSS3!</div>
</body>
</html>

bazaar

css

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300);
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 300;
}
body {
  font-family: 'Source Sans Pro', sans-serif;
  color: white;
  font-weight: 300;
}
body ::-webkit-input-placeholder {
  /* WebKit browsers */
  font-family: 'Source Sans Pro', sans-serif;
  color: white;
  font-weight: 300;
}
body :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  font-family: 'Source Sans Pro', sans-serif;
  color: white;
  opacity: 1;
  font-weight: 300;
}
body ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  font-family: 'Source Sans Pro', sans-serif;
  color: white;
  opacity: 1;
  font-weight: 300;
}
body :-ms-input-placeholder {
  /* Internet Explorer 10+ */
  font-family: 'Source Sans Pro', sans-serif;
  color: white;
  font-weight: 300;
}
.wrapper {
  background: #50a3a2;
  background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 740px;
  margin-top: -375px;
  overflow: hidden;
}
.wrapper.form-success .container h1 {
  -webkit-transform: translateY(85px);
          transform: translateY(85px);
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 220px 0;
  height: 400px;
  text-align: center;
}
.container h1 {
  font-size: 40px;
  transition-duration: 1s;
  transition-timing-function: ease-in-put;
  font-weight: 200;
}
form {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
form input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.2);
  width: 250px;
  border-radius: 3px;
  padding: 10px 15px;
  margin: 0 auto 10px auto;
  display: block;
  text-align: center;
  font-size: 18px;
  color: white;
  transition-duration: 0.25s;
  font-weight: 300;
}
form input:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
form input:focus {
  background-color: white;
  width: 300px;
  color: #53e3a6;
}
form button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  background-color: white;
  border: 0;
  padding: 10px 15px;
  color: #53e3a6;
  border-radius: 3px;
  width: 250px;
  cursor: pointer;
  font-size: 18px;
  transition-duration: 0.25s;
}
form button:hover {
  background-color: #f5f7f9;
}
.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  bottom: -160px;
  -webkit-animation: square 25s infinite;
  animation: square 25s infinite;
  transition-timing-function: linear;
}
.bg-bubbles li:nth-child(1) {
  left: 10%;
}
.bg-bubbles li:nth-child(2) {
  left: 20%;
  width: 80px;
  height: 80px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 17s;
          animation-duration: 17s;
}
.bg-bubbles li:nth-child(3) {
  left: 25%;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}
.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  -webkit-animation-duration: 22s;
          animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.25);
}
.bg-bubbles li:nth-child(5) {
  left: 70%;
}
.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
  background-color: rgba(255, 255, 255, 0.2);
}
.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 7s;
          animation-delay: 7s;
}
.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 20px;
  height: 20px;
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
}
.bg-bubbles li:nth-child(9) {
  left: 25%;
  width: 10px;
  height: 10px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
  background-color: rgba(255, 255, 255, 0.3);
}
.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 11s;
          animation-delay: 11s;
}
@-webkit-keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}
@keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}

SAVITHA

css

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<style>
div
{
   width:100px;
   height:75px;
   background-color:red;
   border:1px solid black;
}
#div2
{
   transform:rotate(30deg);
   -ms-transform:rotate(30deg); /* IE 9 */
   -moz-transform:rotate(30deg); /* Firefox */
   -webkit-transform:rotate(30deg); /* Safari and Chrome */
   -o-transform:rotate(30deg); /* Opera */
   background-color:yellow;
}
</style>
</head>
<body>
<div>Hello, World!</div>
<div id="div2">Hello, CSS3!</div>
</body>
</html>

My test

css

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<style>
div
{
   width:100px;
   height:75px;
   background-color:red;
   border:1px solid black;
}
#div2
{
   transform:rotate(30deg);
   -ms-transform:rotate(30deg); /* IE 9 */
   -moz-transform:rotate(30deg); /* Firefox */
   -webkit-transform:rotate(30deg); /* Safari and Chrome */
   -o-transform:rotate(30deg); /* Opera */
   background-color:yellow;
}
</style>
</head>
<body>
<div>Hello, Diane!</div>
<div id="div2">Hello, Students!</div>
</body>
</html>

Online CSS Editor

css

naveen{
	color:pink;
	font-family:Broadway;
	text-decoration:underline;
}
manu{
	color:blue;
	font-family:Algerian;
	text-decoration:overline;
}
	

rohit

css

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<style>
div
{
   width:100px;
   height:75px;
   background-color:red;
   border:1px solid black;
}
#div2
{
   transform:rotate(30deg);
   -ms-transform:rotate(30deg); /* IE 9 */
   -moz-transform:rotate(30deg); /* Firefox */
   -webkit-transform:rotate(30deg); /* Safari and Chrome */
   -o-transform:rotate(30deg); /* Opera */
   background-color:yellow;
}
</style>
</head>
<body>
<div>Hello, World!</div>
<div id="div2">Hello, CSS3!</div>
</body>
</html>

Previous 1 ... 3 4 5 6 7 8 9 ... 23 Next
Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.