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="wrapper"> | |
<li class="nav-item"> | |
<a href="/service/"> | |
<span data-hover="サービス"> | |
MENU | |
</span> | |
</a> | |
</li> | |
<li class="nav-item"> | |
<a href="/concept/"> |
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
$(function(){ | |
var scrT; | |
$('.menu-trigger').on('click',function(){ | |
if(!$('#menu-cover').hasClass('is_active')){ | |
$('.menu-trigger').one('click',openMainMenu()); | |
} else { | |
// console.log(scrT); | |
$('.close-holder').one('click',closeMainMenu()); | |
} | |
}); |
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
$(function () { | |
var h = $(window).height(); | |
$('.contents, #top').css('display','none'); | |
$('.load, load-logo').height(h).css('display','block'); | |
}); | |
$(window).load(function () { | |
$('.load').fadeOut(800); | |
$('.load-logo').fadeOut(300); |
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
$ sudo npm install -g xxx --unsafe-perm=true --allow-root |
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 id="wrapper"> | |
<div class="a"></div> | |
<div class="b"></div> | |
</div> | |
<svg> | |
<defs> | |
<filter id="goo"> | |
<feGaussianBlur in="SourceGraphic" stdDeviation="10" result="name" /> | |
<feColorMatrix in="name" mode="matrix" values="1 0 0 0 0 |
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="pt-BR"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Mouse Parallax Effect</title> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> | |
<div id="parallax"> | |
<img class="parallax-item" src="http://bymarina.com.br/wp-content/uploads/2011/01/sol2.jpg" width="150"> |
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
$(function(){ | |
$(".btt").on('click touchstart', function () { | |
$('html,body').animate({ scrollTop: 0 }, 'swing'); | |
return false; | |
}); | |
}); |
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
Options +FollowSymLinks | |
RewriteEngine on | |
RewriteCond %{THE_REQUEST} ^.*/index.html | |
RewriteRule ^(.*)index.html$ http://yoshikawagumi.info/$1 [R=301,L] | |
<Files ~ "^.(htaccess|htpasswd)$"> | |
deny from all | |
</Files> |
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
@media all and (-ms-high-contrast:none) { | |
.foo { padding-top: 10px;} | |
} |
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 MENU = (function () { | |
let menu = document.querySelector('.menu'), | |
overlay = document.querySelector('.overlay'), | |
navItem = document.querySelectorAll('.overlay_item') | |
let active = false | |
let toggleMenu = function () { | |
if (!active) { |
OlderNewer