<!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><HTMLxmlns= "http://www.w3.org/1999/xhtml"> <Head> <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /> <title>Anchor points and Content animations display the effect upward</title> <styletype= "Text/css"> *{margin:0;padding:0px;}@-webkit-keyframes Slideupin{0% {-webkit-transform:Translatey (100%);}100%{-webkit-transform:Translatey (0%);}} @keyframes Slideupin{0% {Transform:Translatey (100%); }100%{Transform:Translatey (0%);}}. List{width:100%;Height:1000px;background:#ddd;font-size:80px; }. Link{position:fixed;Top:0; Right:0px;}. List:target{-webkit-transform:Translatey (0%);Transform:Translatey (0%);-webkit-animation:Slideupin. 35s. 05s linear forwards;Animation:Slideupin. 35s. 05s linear forwards; } </style> </Head> <Body> <Divclass= "List"ID= "One">1</Div> <Divclass= "List"ID= "both">2</Div> <Divclass= "List"ID= "three">3</Div> <Divclass= "List"ID= "Four">4</Div> <Divclass= "link"> <ahref= "#one">1</a> <ahref= "#two">2</a> <ahref= "#three">3</a> <ahref= "#four">4</a> </Div> </Body></HTML>
HTML CSS3 Anchor Point animation up