Thursday, 31 December 2020

CSS Pagination

                             CSS Pagination

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pagination</title>
</head>
<style>
    .pagination {
        displayinline-block;
    }
    .pagination a {
        colorblack;
        floatleft;
        text-decoration:none;
        font-size40px/*Use font size to change the pagination size */
        padding10px 13px;
        margin3px;
        /* border-radius: 6px; */
        border1px solid crimson;
        transition: background-color 0.8s/*Adding transition effects on hover*/
        
    }
    .pagination a.active {
        background-colorrgb(9521895);
        /* border-radius: 8px; */
    }
    .pagination a:hover:not(.active) {
        background-color#555dc2;
    }
    .pagination a:first-child {
        border-top-left-radius6px;
        border-bottom-left-radius5px;
    }
    .pagination a:last-child {
        border-top-right-radius6px;
        border-bottom-right-radius6px;
    }
    .center {
        text-aligncenter;
    }
</style>
<body>
    <div class="center">
    <div class="pagination">
        <a href=""><<</a>
        <a href="">1</a>
        <a href="">2</a>
        <a href="">3</a>
        <a class="active" href="">4</a>
        <a href="">5</a>
        <a href="">6</a>
        <a href="">>></a>
    </div>
</div>
</body>
</html>
Breadcrumb......
 

 

Friday, 18 December 2020

CSS Button in Image

                                 CSS Button in Image

 

<!-- <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Buttons Group</title>
</head>
    <style>
        .button {
            background-color: greenyellow;
            border: 1px solid green;
            padding: 15px 25px;
            margin: 0;
            float: left;
            display: block;
        }
        button:hover {
            background-color: green;
        }
        .buttn {
            background-color: greenyellow;
            border: 1px solid green;
            padding: 15px 25px;
            margin: 100% ;
            margin-bottom: 0;
            float: left;
            display: block;
        }
    </style>
<body>
    <button class="button btn1">Button </button>
    <button class="button btn2">Button </button>
    <button class="button btn3">Button </button>
    <button class="button btn4">Button </button>
    <button class="button btn5">Button </button>
    <button class="button btn6">Button </button>
    <button class="buttn btn1">Button </button>
    <button class="buttn btn2">Button </button>
    <button class="buttn btn3">Button </button>
    <button class="buttn btn4">Button </button>
    <button class="buttn btn5">Button </button>
    <button class="buttn btn6">Button </button>
</body>
</html> -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>button in image</title>
</head>
    <style>
        .container {
            positionrelative;
            width100%;
            max-width500px;
        }
        .container img {    
                width100%;
                heightauto;
                border-radius5% ;
        }
        .container .btn {
            positionabsolute;
            top50%;
            left50%;
            transformtranslate(-50%,-50%);
            padding10px 20px;
            border-radius9px;
            backgroundlinear-gradient(to right,white,violet);
            bordernone;
        }
        .container .btn:hover {
            font-sizexx-large;
            color:#f1f1f1;
        }
        .container .btn:hover span::after {
            content"\21A0";
        }
        .riple {
            positionrelative;
            background-colordarkgreen;
            bordernone;
            font-size28px;
            color#fff;
            padding20px;
            width200px;
            text-aligncenter;
            transition-duration0.4s;
            text-decorationnone;
            overflowhidden;
            cursorpointer;
        }
        .riple::after {
            content"";
            background-color#f1f1f1;
            displayblock;
            positionabsolute;
            padding-top:300% ;
            padding-left350%;
            margin-left-20px !important;
            margin-top-120%;
            opacity0;
            transitionall 0.8s;
        }
        .riple:active:after {
            padding0;
            margin0;
            opacity1;
            transition0s;

        }
    </style>
<body>
    <div class="container">
        <img src="https://www.wallpapertip.com/wmimgs/152-1527909_cool-nature-background-images-beautiful-backgrounds.jpg" alt="">
        <button class="btn">Button <span></span></button>
    </div>
    <br><br> 
    <button class="riple">Click M3!</button>
</body>
</html>

Wednesday, 16 December 2020

CSS Buttons

                                 CSS Buttons


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Css Buttons</title>
    <style>
        .button {
            font-size16px;
            padding12px 32px;
            displayblock;
            /* float: left; */
            margin25px 10px;
            bordernone;
            background-colorwhite;
            transition-duration1.5s;

        }
        .button:hover {

            box-shadow0 8px 8px rgb(128128128,0.5);
        }
        .btn1 {
            border2px solid skyblue;
            font-size10px;
            padding10px 24px;
            border-radius2px;
            
        }
        .btn1:hover {

            background-colorskyblue;
        }
        .btn2 {
            /* background-color: dodgerblue; */
            border2px solid dodgerblue;
            font-size15px;
            padding12px 28px;
            border-radius4px;
            
        }
        .btn2:hover {

            background-colordodgerblue;
        }
        .btn3 {
            /* background-color: red; */
            border2px solid red;
            font-size20px;
            padding14px 40px;
            border-radius8px;
            
        }
        .btn3:hover {

            background-colorred;
            box-shadow0 9px #999;
        }
        .btn4 {
            /* background-color: lightseagreen; */
            border2px solid lightseagreen;
            font-size25px;
            padding32px 16px;
            border-radius12px;
            width20%;
            transition:  2s;
            
            
        }
        .btn4:hover {

            width75%;
            background-colorlightseagreen;
        }
        .btn5 {
            /* background-color: violet; */
            displayinline-block;
            border2px solid violet;
            border-radius4px;
            font-size30px;
            padding20px;
            displayinline-block;
            /* border-radius: 4px; */
            /* width: 75%; */

        }
        .btn5:hover {

            background-colorviolet;
        }
        
        .btn5 span {
            /* display: inline-block; */
            positionrelative;
            transition.5s;
        }
        .btn5 span::after {
            content"\21C9";
            positionabsolute;
            /* padding: 20px; */
            /* margin; */
            font-size25px;
            top0px;
            right-25px;
            transition.5s;
            opacity0;
        }
        .btn5:hover span {
            padding-right25px;
        }
        .btn5:hover span::after {
            opacity1;
            right0;
        }
        /* .disabled {
            opacity: 0.2;
            cursor: not-allowed;
        } */
        .buttun {
            bordernone;
            background-color:#4caf50 ;
            box-shadow0px 8px #999,0px 8px #999 ;
            border-radius14px;
            font-size28px;
            padding:20px;
            width200px;
            text-aligncenter;
            /* transition-duration: 0.8s; */
            text-decorationnone;
            overflowhidden;
            cursorpointer;
            height80px;
            color#fff;
        }
        .buttun:active {
            box-shadow0px 6px grey,0px 6px grey;
        }
        /* .buttun::after {
            content: "";
            display: block;
            background-color: whitesmoke;
            padding-top: 300%;
            padding-right: 350%;
            margin-left:-350px ;
            margin-right: -20px !important;
            margin-top: -120%;
            opacity: 0;
            transition: all 0.8s;

        }
        .buttun:active:after{
            padding: 0;
            margin: 0;
            opacity: 1;
            transition: 0s ;
        } */
    </style>
</head>
<body>
    <h1>CSS ADvance Buttons</h1>
    <button class="btn1 button disabled">Click Me</button>
    <button class="btn2 button disabled">Click Me</button>
    <button class="btn3 button disabled">Click Me</button>
    <button class="btn4 button disabled">Click Me ❤😒</button>
    <button class="btn5 button disabled">Click Me<span></span></button>
    <button class="btn6 buttun ">Click Me</button>

</body>
</html>

Monday, 7 December 2020

CSS Style Images

                                                    CSS Style Images

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Style Images</title>
    <style>
        body{
            margin25px;
            margin-bottom200px;
        }
        img.round{
            border-radius50%;
        }
        img.round:hover {

            box-shadow0px 0px 8px 10px skyblue;
        }
        
        a img.thumbnail {
            /* border: 1px solid #ddd; */
            border-radius10%;
            padding5px;
            width180px;
        }
        a img.thumbnail:hover {
            box-shadow0 0 2px 2px rgba(01401860.5);
            
        }
        img.responsive {
            max-width100%;
            heightauto;
        }
        img.center {
            marginauto;
            displayblock;
            width50%;
        }
        div.polaroid {
            marginauto;
            width50%;
            background-colorwhite;
            box-shadow0 4px 8px 0px rgba(0000.2),0 6px 8px 0px rgba(0000.19);
            /* margin-bottom: 25px;
            margin-left: 100px; */
        }
        /* div.polaroid img {
            margin-left: 270px;
        } */
        div.p{
            text-aligncenter;
            padding10px 20px;
            margin25px;
        }
        div.transparent {
            positionrelative;
        }
        div.transparent img{
            opacity0.5;
        }
        div.leftbottom {
            font-sizexx-large;
            positionabsolute;
            left10px;
            bottom56px;
        }
        div.lefttop {
            font-sizexx-large;
            positionabsolute;
            left10px;
            top16px;
        }
        div.rightbottom {
            font-sizexx-large;
            positionabsolute;
            right10px;
            bottom56px;
        }
        div.righttop {
            font-sizexx-large;
            positionabsolute;
            right10px;
            top16px;
        }
        div.centertxt {
            font-sizexx-large;
            positionabsolute;
            /* right: 348px;
            top: 248px; */
            right50%;
            top50%;
            transformtranslate(50%,50%);
            text-aligncenter;
        }
        .blur {
            filterblur(2px);
        }
        .brightness {
            filterbrightness(40%);
        }
        .contrast {
            filtercontrast(240%);
        }
        .greyscale {
            filtergrayscale(100%);
        }
        .huerotate {
            filterhue-rotate(250deg);
        }
        .invert {
            filterinvert(90%);
        }
        .opacity{
            filteropacity(40%);
        }
        .saturate {
            filtersaturate(5);
        }
        .sepia {
            filtersepia(75%);
        }
        .shadow {
            filterdrop-shadow(3px 8px 18px green);
        }
        
        .imgcontain {
            positionrelative;
            width50%;
            marginauto;
        }
        .imgcontain img {
            displayblock;
            width100%;
            heightauto;
        }
        .overlay {
            positionabsolute;
            bottom0;
            top0;
            left100%;
            right0;
            opacity0;
            width0;
            /* height: 0; */
            overflowhidden;

            transition:  1.5s ease;
            background-colorrgb(5119233);
        }
        .imgcontain:hover .overlay {
            width100%;
            opacity1;
            left0;
            transition1.5s ease;
        }
        .overlaytxt {
            positionabsolute;
            colorwhite;
            white-spacenowrap;
            font-size20px;
            top50%;
            left50%;
            /* overflow: hidden; */
            transformtranslate(-50%,-50%);

        }
        .overlay1 {
            opacity0;
            transition1.5s ease;
            positionabsolute;
            top50%;
            left50%;
            transformtranslate(-50%-50%);
            
        }
        .imgcontain:hover img {
            opacity0.3;

        }
        .imgcontain:hover .overlay1 {
            opacity1;
        }
        .fadetxt {
            background-colorgreen;
            colorwhite;
            font: size 20px ;
            padding16px 32px;
        }
        .flip:hover {
            transformscaleX(-1);
            marginauto;
            width50%;
        }
        .responsive {
            /* width: 74.9999%; */
            width100%m;
            floatleft;
            padding0 6px;
            
        }
        /* @media only screen and (max-width: 700px;) {
            .responsive {
                width: 49.9999%;
            }
        }
         @media only screen and (max-width: 500px;) {
             .responsive {
                 float: left;
                 width: 100%;
             }
         } */
        .resp1 {
            border2px solid black;
            width300px
            floatleft;
            margin-left10px;
        }
        .resp1 img {
            width100%;
        }
        .rt1 {
            text-aligncenter;
            padding20px;
        }
    </style>
</head>
<body>
    <h2>Rounded Images</h2>
    <p>Use border radius to create rounded images.</p>
    <img src="https://www.freshboo.com/wp-content/uploads/2014/06/Cool-Wallpapers.jpg" alt="Google search" class="round">
    <div>
        <h2>Thumbnail Image as link</h2>
        <a href="https://wallpaperheart.com/wp-content/uploads/2018/04/abstracts-wallpaper-cool-background-images.jpg" target="_blank" >
        <img src="https://wallpaperheart.com/wp-content/uploads/2018/04/abstracts-wallpaper-cool-background-images.jpg" alt="Google kar" class="thumbnail" width="500px">
    </a>
</div>
<div>
    <h2>Responsive Image</h2>
        <img src="https://images.hdqwalls.com/wallpapers/phoenix-the-red-bird-4k-i4.jpg" alt="Google" class="responsive">
    </div>
    <!-- Centered -->
    <div>
        <h2>Image in Center</h2>
        <img src="https://www.pxwall.com/wp-content/uploads/2019/04/4K-Phoenix-HD-Wallpapers.jpg" alt="" class="center">
    </div> <br><br>
    <!-- Polaroid /Cards like images -->
    <div class="polaroid">
        <img src="https://wallpaperboat.com/wp-content/uploads/2020/04/phoenix-wallpaper-download-full-13.jpg" alt="" style="width: 100%;">
        <div class="p">
            A Phoenix Fire
        </div>
    </div>
    <!-- Tranparent Images with text aligned on them -->
    <div class="transparent">
        <img src="https://wallpaperboat.com/wp-content/uploads/2020/04/phoenix-wallpaper-download-full-13.jpg" alt="" style="width: 100%;">
        <div class="lefttop">
            A Phoenix Fire
        </div>
        <div class="leftbottom">
            A Phoenix Fire
        </div>
        <div class="righttop">
            A Phoenix Fire
        </div>
        <div class="rightbottom">
            A Phoenix Fire
        </div>
        <div class="centertxt">
            A Phoenix Fire
        </div>
    </div> <br><hr><br> 
    <h2>Image with filter effects</h2>
    <div class="filters">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="normal">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="blur">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="brightness">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="contrast">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="greyscale">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="huerotate">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="invert">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="opacity">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="saturate">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="sepia">
        <img src="https://avante.biz/wp-content/uploads/Nature-Backgrounds-Image/Nature-Backgrounds-Image-011.jpg" width="300px" height="auto" alt="Nature-Backgrounds-Image" class="shadow">
    </div>
    <!-- Image Hover Overlay -->
        <br><br>
    <div class="imgcontain">
        <img class="myimg" src="https://cutewallpaper.org/21/cool-nature-backgrounds/Cool-Nature-Desktop-Backgrounds-57-images-DodoWallpaper..jpg"  alt="Google">
        <div class="overlay">
            <div class="overlaytxt">
                Hello World!
            </div>
        </div>
        
    </div>
     <br> <br>
    <div class="imgcontain">
        <img class="myimg" src="https://selfgrowth.info/photos/cool-nature-pictures-without-text/best-nature-wallpapers-without-copyright2784.jpg"  alt="Google">
        <div class="overlay1">
            <div class="fadetxt">
                Hello World!
            </div>
        </div>
        
    </div> <br> <br>
    <hr>
    <div >
        Hovr on the image below and check it make it as a flip  <br>
        <img src="https://cdn.wallpapersafari.com/41/9/cE1nV0.jpg" width="50%" alt="Google" class="flip">
    </div>
    <div class="responsive">
        <div class="resp1">
            <img src="https://cdn.wallpapersafari.com/41/9/cE1nV0.jpg" alt="">
            <div class="rt1">This is a responsive image gallary.</div>
        </div>
        <div class="resp1">
            <img src="https://cdn.wallpapersafari.com/41/9/cE1nV0.jpg" alt="">
            <div class="rt1">This is a responsive image gallary.</div>
        </div>
        <div class="resp1">
            <img src="https://cdn.wallpapersafari.com/41/9/cE1nV0.jpg" alt="">
            <div class="rt1">This is a responsive image gallary.</div>
        </div>
        <div class="resp1">
            <img src="https://cdn.wallpapersafari.com/41/9/cE1nV0.jpg" alt="">
            <div class="rt1">This is a responsive image gallary.</div>
        </div>
        <div class="resp1">
            <img src="https://cdn.wallpapersafari.com/41/9/cE1nV0.jpg" alt="">
            <div class="rt1">This is a responsive image gallary.</div>
        </div>
    </div>
</body>
</html>


 

Get Phone Number Details Using Python

 Get Phone Number Details Using Python Import Python module PHONENUMBERS using command " pip install phonenumbers" in you CLI Then...