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
[insert name of top navbar] { | |
padding: 20px; | |
} | |
.announcement-top-bar { | |
position: -webkit-sticky; | |
position: -moz-sticky; | |
position: -ms-sticky; | |
position: -o-sticky; | |
position: sticky; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<!-- Don't show directory listings for URLs which map to a directory. --> | |
<directoryBrowse enabled="false" /> | |
<!-- | |
Caching configuration was not delegated by default. Some hosters may not | |
delegate the caching configuration to site owners by default and that | |
may cause errors when users install. Uncomment this if you want to and |
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
.container > div > img { | |
width: 100%; | |
height: 1005; | |
object-fit: cover; | |
} |
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
//1. We're going to use jQuery to get the href attribute of the link that was just clicked: | |
$(document).ready(function(){ | |
$('#ajax-nav a').bind('click', function(){ | |
var url = $(this).attr('href'); | |
return false; | |
}); | |
}); | |
//Now we have a variable called url that contains the href attribute of the link that was clicked. | |
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
/** | |
* Format the classes as boxes | |
* when showing code structure | |
* | |
* @return string | |
*/ | |
public static function blueSheet(): string | |
{ | |
return <<<HEREDOC | |
<style> |
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
const input = document.querySelector('input'); | |
const btn = document.querySelector('button'); | |
btn.addEventListener('click', () => { | |
navigator.clipboard.writeText(input.value); | |
}) |
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
/*Rainbow*/ | |
background: radial-gradient(50% 123.47% at 50% 50%,#00ff94 0,#720059 100%),linear-gradient(121.28deg,#669600 0,red 100%),linear-gradient(360deg,#0029ff 0,#8fff00 100%),radial-gradient(100% 164.72% at 100% 100%,#6100ff 0,#00ff57 100%),radial-gradient(100% 148.07% at 0 0,#fff500 0,#51d500 100%); | |
background-blend-mode: screen,color-dodge,overlay,difference,normal; | |
/*Version 2*/ | |
background: #42275a; | |
background: -webkit-linear-gradient(to right, #734b6d, #42275a); | |
background: linear-gradient(to right, #734b6d, #42275a); | |
/*Version 3*/ |
OlderNewer