Skip to content

Commit

Permalink
Added styles
Browse files Browse the repository at this point in the history
  • Loading branch information
DK6asDK6 committed Jun 11, 2024
1 parent 1ee892f commit c4f73c7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 02-plato/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="shortcut icon" href="M.BMP" />
<title>CGSG: DK6 Summer practice 2024</title>
<script src="./output/main.js"></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- <p id="myCan:fps"></p> -->
Expand All @@ -17,8 +18,8 @@
></canvas>
<br />
<form>
<fieldset id="field">
<legend>Select a Plato figure:</legend>
<fieldset id="field" class="field">
Select a Plato figure:

<div>
<input
Expand Down
20 changes: 20 additions & 0 deletions 02-plato/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
* {
background-color: #7c7ce6;
}

fieldset.field {
background-color: #fff375;
}

fieldset.field div {
background-color: #fff375;
}

fieldset.field label {
background-color: #fff375;
}

fieldset.field label:hover {
background-color: #a573e5;
color: #ffdc75;
}

0 comments on commit c4f73c7

Please sign in to comment.