Skip to content

Instantly share code, notes, and snippets.

@noahub
Created June 17, 2016 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noahub/a94682f485dd337a810eca679f71b1ae to your computer and use it in GitHub Desktop.
Save noahub/a94682f485dd337a810eca679f71b1ae to your computer and use it in GitHub Desktop.
Make Element 100% width
<script>
var e = jQuery('#lp-pom-text-120'); //Replace with your element ID
var a = jQuery('.lp-pom-root');
e.css({'left':0, 'width':'100%', 'box-sizing':'border-box'}).prependTo(a);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment