mirror of
https://github.com/SrIzan10/mainwebsite.git
synced 2026-06-06 00:56:58 +00:00
w3cvalidator6
This commit is contained in:
21
index.html
21
index.html
@@ -10,9 +10,9 @@
|
||||
<body>
|
||||
|
||||
|
||||
<marquee behavior="alternate" direction="right">
|
||||
<div class="lefttorighttext">
|
||||
<h1>Sr Izan's Website.</h1>
|
||||
</marquee>
|
||||
</div>
|
||||
|
||||
<div class="corner"><button onclick="myFunction()">Cambiar a modo oscuro</button></div>
|
||||
<!--Scripts and styles-->
|
||||
@@ -27,6 +27,7 @@
|
||||
background-color: white;
|
||||
color: black;
|
||||
font-size: 25px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.corner{
|
||||
position: absolute;
|
||||
@@ -38,6 +39,22 @@
|
||||
background-color: #23272A;
|
||||
color: white;
|
||||
}
|
||||
.lefttorighttext{
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
animation: floatText 5s infinite alternate ease-in-out;
|
||||
}
|
||||
|
||||
@-webkit-keyframes floatText{
|
||||
from {
|
||||
left: 00%;
|
||||
}
|
||||
|
||||
to {
|
||||
/* left: auto; */
|
||||
left: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user