File size: 1,329 Bytes
5f830d1
 
 
 
 
 
 
d86254c
5f830d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d86254c
 
5f830d1
 
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
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Sholo</title>
    <link rel="stylesheet" href="./assets/styles/css/sholo.min.css">
</head>
<body>
<div class="page-wrap">
    <section class="header">
        <h1>Sholo</h1>
        <p class="text-muted">A light-weight, no-dependency, vanilla JavaScript library to bring certain parts of page in spotlight</p>
        <a href="#" class="btn btn-dark">Show an Example</a>
        <a href="#" class="btn btn-light">Learn More</a>
    </section>
    <section class="main-content">
        <h1>Whats does it do?</h1>
        <p>Let's you bring any component on the page into the spotlight.</p>
        <p>It lets you focus any element of the page while putting an overlay on top of the other elements in page. You can use it to make powerful introduction for different features of your application or for example if you want to highlight some component that needs user attention.</p>

        <pre>
    const sholo = new Sholo();
    sholo.highlight(".header");
</pre>
    </section>
</div>

<script src="./assets/scripts/dist/sholo.min.js"></script>
</body>
</html>