-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (68 loc) · 5.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Slider with Navigation and Read More</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<ul class='slider'>
<li class='item' style="background-image: url('../../../up.png')">
<div class='content'>
<h2 class='title'>Your Amazing...</h2>
<p class='description'>I was thinking about you today and couldn't help but smile. Your presence makes everything better. To make your HTML, CSS, and JavaScript work correctly in VS Code with the requested functionalities (sliding images and "Read More" button functionality), I'll provide an improved version of your code...
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description:.........
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description://////////
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description:'''''''''''
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description:]]]]]]]]]]].
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description:............'
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description:.........
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description://////////
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description:'''''''''''
To implement a scrolling feature in the text when the "Read More" button is clicked, particularly when the description is too long, we can add a max-height and overflow-y: auto to the .description class. We'll also add smooth scrolling for a better user experience. Here's the updated code for the scrollable description:]]]]]]]]]]].
</p>
<button>Read More</button>
</div>
</li>
<li class='item' style="background-image: url('https://iili.io/J5Lm7v1.png')">
<div class='content'>
<h2 class='title'>"You are Magical"</h2>
<p class='description'>"Are you a magician? Because whenever I look at you, everyone else disappears. ✨"</p>
<button>Read More</button>
</div>
</li>
<li class='item' style="background-image: url('https://iili.io/J5Lm5YP.png')">
<div class='content'>
<h2 class='title'>"You are Always in my mind"</h2>
<p class='description'>"You're like a fine wine – you get better with time. 😍"</p>
<button>Read More</button>
</div>
</li>
<li class='item' style="background-image: url('https://iili.io/J5LmcTg.png')">
<div class='content'>
<h2 class='title'>"When I lost I find you.."</h2>
<p class='description'>"Do you have a map? Because I just keep getting lost in your eyes every time I see you. 🌟"</p>
<button>Read More</button>
</div>
</li>
<li class='item' style="background-image: url('https://iili.io/J5Lmlja.png')">
<div class='content'>
<h2 class='title'>"You are cute.."</h2>
<p class='description'>"If you were a cat, you'd purr-fectly steal my heart."</p>
<button>Read More</button>
</div>
</li>
</ul>
<nav class='nav'>
<ion-icon class='btn prev' name="arrow-back-outline"></ion-icon>
<ion-icon class='btn next' name="arrow-forward-outline"></ion-icon>
</nav>
</main>
<!-- Include Ionicons -->
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
<script src="script.js"></script>
</body>
</html>