Monday, November 30, 2020

Custom Gallery Tutorial part 1

 

<div class="navbar">

        <h3>Sync Programming StoreMI</h3>

        <form action="" id="form">

            <input type="file" id="image" value="choose file" name="choose file">

            <input type="submit" value="upload">

        </form>

    </div>





CSS

*{

    margin0;

    padding0;

    box-sizingborder-box;

}

body{

    /* background: linear-gradient(to bottom,rgb(27, 27, 27),rgb(143, 206, 241)); */

    /* background-color: rgb(170, 183, 211); */

    backgroundurl('../back5.jpg');

    background-sizecover;

    background-positioncenter;

}

.navbar{

    displayflex;

    align-itemsbaseline;

    width90%;

    margin10px auto;

    justify-contentspace-between;

    padding15px;

    background-colorrgb(1269100);

    colorrgb(025598);

}

 

#image::-webkit-file-upload-button{

    visibilityhidden;

    

}

 

.navbar h3{

    font-size35px;

    coloryellow;

}

#image{

    background-colorhotpink;

    border2px solid black;

No comments:

Post a Comment