This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".scroll").click(function(event){ | |
var offset = 40; //offset rispetto a posizione dell'ancora | |
//prevent the default action for the click event | |
event.preventDefault(); | |
//get the full url - like mysitecom/index.htm#home | |
var full_url = this.href; | |
//split the url by # and get the anchor target name - home in mysitecom/index.htm#home | |
var parts = full_url.split("#"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A map of breakpoints. | |
$breakpoints: (xs: 576px, | |
sm: 768px, | |
md: 992px, | |
lg: 1200px); | |
// Respond above. | |
@mixin respond-above($breakpoint) { | |
// If the breakpoint exists in the map. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @snippet WooCommerce Add New Tab @ My Account | |
* @how-to Get CustomizeWoo.com FREE | |
* @author Rodolfo Melogli | |
* @compatible WooCommerce 3.5.7 | |
* @donate $9 https://businessbloomer.com/bloomer-armada/ | |
*/ | |
// ------------------ | |
// 1. Register new endpoint to use for My Account page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Starter Template Bootstrap</title> | |
<!-- Bootstrap CSS --> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Starter Template Bootstrap</title> | |
<!-- Bootstrap CSS --> | |
<link type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"> | |
<link type="text/css" href="style.processed.css" rel="stylesheet"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<!-- Content here --> | |
</div> | |
<div class="container-fluid"> | |
... | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dispositivi di dimensioni molto piccole (inferiori a 576px) | |
// vengono usati gli stili di default di Bootstrap | |
// Piccoli dispositivi (landscape, 576px e superiori) | |
@media (min-width: 576px) { ... } | |
// Medi dispositivi (tablet, 768px e superiori | |
@media (min-width: 768px) { ... } | |
//dispositivi grandi (schermi desktops, 992px e superiori) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin border-radius($radius) { | |
border-radius: $radius; | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
} | |
@mixin transition($property, $duration, $easing: linear) { | |
transition: $property $duration $easing; | |
-webkit-transition: $property $duration $easing; | |
-moz-transition: $property $duration $easing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<main role="main" class="container"> | |
<div class="row"> | |
<div class="col">1</div> | |
<div class="col">2</div> | |
<div class="col">3</div> | |
<div class="col">4</div> | |
</div> | |
<div class="row"> | |
<div class="col">1</div> | |
<div class="col">2</div> |