What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-18 04:50:01
woocommerce create coupon programmatically
/** * Create a coupon programatically */ $coupon_code = 'UNIQUECODE'; // Code $amount = '10'; // Amount $discount_type = 'fixed_cart'; // Type: fixed_cart, percent, fixed_product, percent_product $coupon = array( 'post_title' => $coupon_code, 'post_co... Add solution -
CSS 2022-03-02 15:10:22
how to make an image occupy entire page css
img.bg { /* Set rules to fill background */ min-height: 100%; min-width: 1024px; /* Set up proportionate scaling */ width: 100%; height: auto; /* Set up positioning */ position: fixed; top: 0; left: 0; } @media screen and (max-wid... Add solution -
CSS 2022-02-12 02:30:14
flexbox navbar fixed top
/* Clear formatting*/ * { box-sizing: border-box; margin: 0; padding: 0; } /* Remove formatting from links*/ a { color: inherit; text-decoration: none; } /* Set a max width to the content*/ .wrapper { max-width: 960px; margin: 0 auto; b... Add solution