In yesterday’s CSS and SVG XML Primer Tutorial the emphasis was on SVG+XML and today we want to broaden the scope to how that SVG contributes to the construction of your webpage’s CSS, which we now do for non-mobile users, in their textarea title attributes, via them hovering over any of the textarea elements.
If its CSS here, how can Javascript (DOM) help, as we tagged with yesterday’s and today’s tutorials? Well, the great thing about CSS styling is that, using inline CSS styling it can be dynamic by just adding <style> CSS Styling </style> stylesheet styling by appending it to document.body (or some other element’s) innerHTML DOM attribute. It is noteworthy that inline CSS can be usefully placed in both document.head and document.body webpage sections, and that priority goes with the latest “mention” (hence the Cascading Style Sheet meaning of CSS) or via the use of “!important” clause.
We also add the prefix and suffix strings making up the CSS styling around the SVG in small, so far uneditable, span elements above and below.
So feel free to try the more contextual “proof of concept” second draft web application.
Previous relevant CSS and SVG XML Primer Tutorial is shown below.
Ever since SVG came on the scene CSS got that much more interesting. You can apply SVG+XML protocol in your CSS styling to create your own tailored, and dynamic …
- background (image) … with or without an opacity consideration (via a linear gradient)
- border image … not for the faint hearted
- cursor … non-mobile only
… and we’ve written a “proof of concept” first draft web application you can try, here, even below, where seeing the SVG might tweak your “ideas palette”!
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.




Naming the things in a bathroom is a smarter vocabulary exercise than it first looks, because every learner already knows the room, so the words attach to objects they can see and touch instead of floating on a flashcard. Asking how many things can you name turns it into a game rather than a test, and the counting itself becomes the motivation: one more word than last time is a visible win. I like the way this kind of lesson uses a photograph as the prompt, since a picture gives every student the same starting point regardless of level, and the stronger students can move on to describing what each thing is for while beginners are still collecting nouns. The bathroom is a good choice of room too, because it is full of everyday words that textbooks often skip, the small objects people actually say out loud every morning. A daily habit of naming five new things around the house would build a working vocabulary faster than memorising lists, and this post is a good template for it.