opening code with logo

 avatar
user_3758723130
css
2 years ago
1.1 kB
3
Indexable
Never
/*START - replace text title with a logo*/
@media only screen and (min-width: 768px){
    h1:after{
        background-image: url('https://res.cloudinary.com/luxuryp/images/f_auto,q_auto/cmy5zrjnr8joezxsevwg/cb_logo_rgb_white_vertical_realty3x-1');
        background-repeat:no-repeat;
        background-size: contain;
        display: block;
        content: '';
        white-space: pre;
        height: 262px;
        width: 440px;
        margin: auto;
        }
        h1{
                font-size: 0;
        }
}
@media only screen and (max-width: 767px){
    h1:after{
        background-image: url('https://res.cloudinary.com/luxuryp/images/f_auto,q_auto/cmy5zrjnr8joezxsevwg/cb_logo_rgb_white_vertical_realty3x-1');
        background-repeat:no-repeat;
        background-size: contain;
        display: block;
        content: '';
        white-space: pre;
        height: 161px;
        width:270px;
        margin: auto;
        }
        h1{
                font-size: 0;
        }
}
/*END - replace text title with a logo*/