SVG Essentials, O'Reilly book, link to examples
Книга
SVG Essentials
Год: 2015
Автор: J. David Eisenberg, Amelia Bellamy-Royds / Дж. Дэвид Эйсерберг, Амелия Беллами-Ройдс
Жанр: веб-графика
Издательство: O’Reilly
ISBN: 978-1449374358
Язык: Английский
Формат: ePub
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 295
Описание: Описание формата SVG - масштабируемой векторной графики.
***
Примеры:
https://github.com/oreillymedia/svg-essentials-examples
SVG tips and tricks
Any object or layer that uses a number as a leading character in Illustrator will be converted into some crazy id in the resulting SVG.
For instance:
A layer called "1st-floor-rooms" in Illustrator will become "_x31_st-floor-rooms" in the SVG.
***
An ugly phenomenon —
the text on top of an interactive box
blocks the mouseover effect.
To get around this,
we can use the following CSS
to make the cursor ignore all text elements:
text { pointer-events: none; }
http://www.petercollingridge.co.uk/data-visualisation/svg-mouseover-tricks
***
Getting rid of rectangles <rect /> in SVG (they may unexpectedly disappear).
From primitive types to a path in Illustrator -
Object > Path > Simplify (Straight Lines).
***