Monday, 5 January 2015

Font Integration for all browser and Mobile

@font-face {
    font-family: 'digital-7';
    src: url('fonts/digital-7.eot');
    src: url('fonts/digital-7.eot?#iefix') format('embedded-opentype'),
    url('fonts/digital-7.woff') format('woff'),
    url('fonts/digital-7.ttf') format('truetype'),
    url('fonts/digital-7.svg#digital-7') format('svg');
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
        font-family: 'digital-7';
        src: url('fonts/digital-7.svg#digital-7') format('svg');
    }

}

Disable all page selection

img, body, html, div, span, p, * {
                -webkit-user-select: none !important;  /* Chrome all / Safari all */
                    -moz-user-select: none !important;     /* Firefox all */
                    -ms-user-select: none !important;      /* IE 10+ */
                /* No support for these yet, use at own risk */
                -o-user-select: none !important;
                        user-select: none !important;

                }