|
|
|
|
|
by sbouafif
4799 days ago
|
|
I like the idea of separating the content from the presentation and the behaviour. But I'd really like to automate this. Is there a way in SVG to concatenate strings? (I never really used SVG and can't find something on this in Google) . Using JS I generally use the data attribute in html to set the image name and add _small, _big, _huge depending on the window size. The JS script will automatically set the right image. It's great but doen't work if there's no JS support. |
|