CSS and JavaScript present entry to all the weather of an HTML doc – in fact additionally to texts; nevertheless, that is restricted to titles and paragraphs. Accessing single sentences and phrases just isn’t that snug; until they’re wrapped, for instance, with “” parts. The JavaScript library Blast.js makes sentences, phrases, and single characters accessible by means of CSS and JavaScript. This can be a actual foundation for spectacular typography animations. How Blast.js Works Blast.js comes from the digital pen of the Velocity.js developer Julian Shapiro from San Francisco. The MIT license is freed from cost for business and private tasks. It isn’t exhausting to make use of, however chances are you’ll want some explanations. Blast.js builds up on jQuery, so it’s essential incorporate each into the HTML doc. Then the textual content could be simply ready, so that every sentence, every phrase, and every character may be accessed by way of CSS or JavaScript. $(“p”).blast( delimiter: “phrase” ); Within the above instance, all phrases inside “
” parts are wrapped with a “” component. These “” parts are classed as “blast”. Different delimiters are “sentence” which wraps sentences with a “”, and “character” which covers single characters – together with punctuation marks. If the textual content already has […]
- Web App Manifest: Open Websites Like Native Apps on Mobile Devices
- Flickity: Beautiful Galleries on All Devices – Responsive and…
HTML5: Native Dialogue Windows With the New Dialog Element
Better than Pure CSS3: Realistic and Complex Shadows with Shine.js
- <img src="http://ift.tt/1xKH332 material/plugins/contextual-associated-posts/timthumb/timthumb.php?src=httppercent3Apercent2Fpercent2Fwww.noupe.compercent2Fwp-contentpercent2Fuploadspercent2F2013percent2F02percent2Fhintcss-w550.png&w=250&h=200&zc=1&q=seventy five" alt="HINT.css
The post Straightforward Typography Animations: The best way to Manipulate Texts with Blast.js and jQuery appeared first on DICKLEUNG DESIGN 2014.

沒有留言:
張貼留言