December 2, 201411 yr How do developers here approach reducing page size using CSS or not using CSS? I have come across a number of tutorials and the border attribute seems the player. Like this one which looks at an alternative. Web developers often go to great lengths to reduce the time required to display their web pages in the browser. One commonly used technique is diminishing the reliance on images by using the intrinsic capabilities of the browser to create pure CSS shapes. Till recently the only real ally here has been the CSS border attribute.https://jresponse.net/blog/how-css-shapes-work-animated-guide/ There are a selection of shapes and how-tos when using CSS3.
December 3, 201411 yr The use of SVG now can negate a lot of the usefeulness of css shapes, when minifieds they are of comparable size, sometimes the SVG will actually be smaller.
Create an account or sign in to comment