CrowdHailer/Hammerhead2

View on GitHub
src/hammerhead2.css

Summary

Maintainability
Test Coverage
body, html {
  height: 100%; /* Required to make div fill to screen height, otherwise IE picks smaller image height */
  margin: 0; 
  padding: 0; /* Remove standard behaviour for body margin */
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden; /*removes scrollbars*/
  -ms-touch-action: none;
  -ms-content-zooming: none;

  -webkit-touch-callout: none;  /* Section to stop text select may optionally be set to affet svg only */
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  
}
svg {
  /* Uncomment section for full screen*/
  position: absolute;
  top: 0;
  left: 0;
  /* end of section */
  cursor: move;

  -ms-touch-action: none;
  touch-action: none;

  -webkit-transition: none;
  transition: none;

  -webkit-backface-visibility: hidden;

  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}