update 2026-07-09 12:26
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test de code sans Claude</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id='DivG'>
|
||||
<div class='DivLien'>
|
||||
<a href="https://steampowered.com">Steam</a>
|
||||
</div>
|
||||
<div class ='DivLien'>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id='DivM'>
|
||||
<div class ='child_div_1'>asd</div>
|
||||
<div class ='child_div_2'>asd</div>
|
||||
</div>
|
||||
|
||||
<div id='DivD'>
|
||||
<div class ='child_div_1'>asd</div>
|
||||
<div class ='child_div_2'>asd</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,14 @@
|
||||
var couleurs = [
|
||||
"red",
|
||||
"blue",
|
||||
"gray",
|
||||
"black",
|
||||
"purple",
|
||||
"pink",
|
||||
"green"
|
||||
];
|
||||
|
||||
if (true == true) {
|
||||
var random = Math.floor(Math.random() * couleurs.length);
|
||||
document.getElementById("rainbow").style.color = couleurs[random];
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');
|
||||
|
||||
html {
|
||||
font-family: 'Comfortaa', cursive;
|
||||
}
|
||||
|
||||
#DivG, #DivM, #DivD {
|
||||
border: 2px solid rgb(95 97 110);
|
||||
border-radius: 0.5em;
|
||||
width: 300px;
|
||||
height: 100px;
|
||||
margin-right: 10px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
width: 600px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.DivLien {
|
||||
border: 2px solid rgb(95 97 110);
|
||||
border-radius: 0.5em;
|
||||
width: 500px;
|
||||
height: 100px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.mimicolor {
|
||||
font-family: monospace;
|
||||
font-size: 3em;
|
||||
animation: color-change 1s infinite;
|
||||
}
|
||||
|
||||
@keyframes color-change {
|
||||
0% { color: #cc0001; }
|
||||
16% { color: #fb940b; }
|
||||
32% { color: #ffff01; }
|
||||
48% { color: #01cc00; }
|
||||
64% { color: #03c0c6; }
|
||||
80% { color: #0000fe; }
|
||||
90% { color: #762ca7; }
|
||||
100% { color: #fe98bf; }
|
||||
}
|
||||
Reference in New Issue
Block a user