1.0.1 • Published 2 years ago

htmlwizard v1.0.1

Weekly downloads
-
License
Apache-V2
Repository
-
Last release
2 years ago

Installation

    npm install htmlwizard

Examples

JavaScript Part

    import { shadow } from 'htmlLwizard'

    shadow({
        shadow_type: 'soft', // this can be soft, medium or hard
        padding: true, // this adds a box around the image
        center: true // this centers the image
    })

HTML Part

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <title>HTMLwizard</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <img src="https://bit.ly/3sI56pc" alt="Image" class="shadow">

        <script type="module" src="path-to-file"></script>
    </body>
    </html>

Final Result