Minification is technique used in which we remove all unnecessary Whitespaces Which include tab, space, newline, carriage return etc. This is done just to reduce data transfer. Since not everyone is serving a million hits a seconds – minifying html doesn’t help much, Instead enabling GZIP compression is a better technique. Apart from this – …
Category: css
Sep 10
Adding ellipsis to long text
When you have some long division and you don’t want to wrap text or extend size of div, But instead you want to use add few `…` at end of text using CSS .wrapped{ overflow:hidden; white-space: nowrap; text-overflow: ellipsis; width: 300px; } Example : Text without text-overflow :Lorem ipsum dolor sit amet, consectetur adipiscing elit. …
Recent Comments