Peter T Bosse II

Results comments of Peter T Bosse II

Using the following config, I was able to reduce the parsed bundle size of a project from: - before: 885.56 KB (294.36 KB gzipped) - after: 357.3 KB (108.86 KB...

I updated the [gist](https://gist.github.com/ptb/9692359) using -webkit-mask-box-image. That was a very good idea, it makes a lot of things possible. Here's the [updated demo](http://rawgithub.com/ptb/9692359/raw/7f2531e20bc6ab006601046304d6e87ac2ab1cba/messages.html) I'll adjust the radius of the corners...

I took a screen shot with a one character message from my iPhone 5, and this is the result: ![example](https://f.cloud.github.com/assets/5335/2491290/a69560dc-b1e5-11e3-9e43-189ad5c9426b.PNG) With the current code (not yet in the gist) this...

I percent encoded it based on [David Bushell's](http://dbushell.com/2013/02/04/a-primer-to-front-end-svg-hacking/) recommendation, but according to him, it "only works on Safari and Chrome". Since -webkit-mask-box-image will only work on Webkit-based browsers anyway, it...

And I tried validating it without percent encoding on http://validator.w3.org and http://jigsaw.w3.org/css-validator/ and neither of them had a problem with it.

I updated the [gist](http://rawgithub.com/ptb/9692359/raw/2cf382192ebea6305b8313d47a3c5d48de5d2577/messages.html).

Are you opposed (or know more than I do why it might be a bad idea) to [simplify the CSS class naming](https://github.com/ptb/Framework7/blob/0f262df8e926b9e5454bfc209c54032f455176b3/src/less/messages.less) for messages? I made the proposed changes [here](https://github.com/ptb/Framework7/commit/0f262df8e926b9e5454bfc209c54032f455176b3)....

I didn't even think of `` not being appropriate except for inline elements. Good call.

According to [this page](http://c2prods.com/2013/cloning-the-ui-of-ios-7-with-html-css-and-javascript/) (in section 2.2), you'd want to use something like this: `-webkit-transition: all 1s cubic-bezier(.1, .7, .1, 1); transition: all 1s cubic-bezier(.1, .7, .1, 1);` You can...