Posts

Loading Spinners inside Modal - Bootstrap

This solution for both static html and can be setup inside directive for angular 1.X. Just like with some of css3 I created awhile back these spinners ready as soon as the client hits the page hence way there's a static version.  A directive could be made to for dynamic situations like http requests.  This implementation goes inside div or inside another component, while the global spinner closes the children and takes over.   <div style="position:relative;height: 95px"  ng-show="data.length == 0">     <div id="my-modal" class="modal fade in show" style="position: absolute">       <div class="modal-dialog" style="width: 100px;margin-top: 2px;">         <div class="modal-content">           <div class="modal-body">             <div class="spinner"></div>           </div>         </div>       </div>     </div&

Why you might want to use Amp

Currently working on a blogger template that is completely stripped down to bare bones to setup a AMP site. This just a list of reasons why you start using AMP at least for maybe for blogs which I'm more interested. I wouldn't recommend for business sites just yet. Unless you're site is very simple and straight forward or mostly middler-tier based anyway. Pro's Everything in a AMP site is styled directly in the beginning of the site, no external stylesheets (a huge performance boost). Global styling forces developer to think globally about their styles. So the styles run more like a style guide. Styles are limited about the total amount for AMP making developers to do more with less. No inline-styles this is a plus because there is no surprises for other developers jumping in or modifying (look at cons). No inline javascript, where this is the same for inline styling. No external javascript, this is really something you will want to know before getting into AM

Popular posts from this blog

UI-Bootstrap Collapsible Sticky Footer

Installing Windows on Acer chromebook 15 cb3-532

Aspetcore: NLog with Postgresql