commit fe09c07382687e7bfc94454763683776a02fbba8
parent 7644a1ec7f260c8df32f56a23d0da14f8e76815a
Author: Jo Young <2690290@dundee.ac.uk>
Date: Mon, 9 Feb 2026 15:33:02 +0000
Added "textonly" class for elements only for text-based browsers
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/1.html b/1.html
@@ -8,6 +8,14 @@
<main class=main>
<div class="main">
<img class="title" src="title.webp" alt="Portfolio">
+ <div class=textonly>
+ <hr>
+ + <a href="1.html">Page 1</a>
+ + <a href="2.html">Page 2</a>
+ + <a href="3.html">Page 3</a>
+ +
+ <hr>
+ </div>
<div style="padding-left: 2vw; text-align: left">
</div>
</div>
diff --git a/stylesheet.css b/stylesheet.css
@@ -13,4 +13,6 @@ body {
background-image: linear-gradient(#FFBB81, #D88C59);
border-left: #D88C59 dotted 3px;
text-align: center;
+} .textonly {
+ display: none;
}