Skip to content

Instantly share code, notes, and snippets.

View anabelle's full-sized avatar

Anabelle Handdoek anabelle

View GitHub Profile
.layers_container {
margin-bottom: 10px;
width: 100%;
padding-top: 100%;
height: 0;
box-sizing: content-box;
position: relative;
transform: translateY(0);
}
<div class="slider-hexagonos">
<ul class="my-slider">
<?php
if ( block_rows( 'hexagonos' ) ):
while ( block_rows( 'hexagonos' ) ) :
block_row( 'hexagonos' );
$titulo = block_sub_value( 'titulo' );
$link = block_sub_value( 'link' );
$texto = block_sub_value( 'texto' );
$imagen_fija = block_sub_value( 'imagen-fija' );
<script>
console.log("Block script loaded");
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
var player;
function onYouTubeIframeAPIReady() {
! function(window) {
function _log(msg) {
console.error(msg)
}
function _pad(character, num, size) {
for (var s = "" + num, c = character || "0"; s.length < size;) s = c + s;
return s
}
https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Test-Logo.svg/1200px-Test-Logo.svg.png
https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885__480.jpg
https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MXx8c3VucmlzZXxlbnwwfHwwfHw%3D&ixlib=rb-1.2.1&w=1000&q=80
https://www.w3schools.com/w3css/img_lights.jpg
https://www.w3schools.com/howto/img_forest.jpg
https://www.w3schools.com/howto/img_snow.jpg
https://www.w3schools.com/howto/img_mountains.jpg
https://www.w3schools.com/howto/img_nature.jpg
https://www.w3schools.com/howto/img_fjords.jpg
https://www.w3schools.com/css/img_5terre_wide.jpg
@anabelle
anabelle / keybase.md
Created August 25, 2024 17:29
keybase.md

Keybase proof

I hereby claim:

  • I am anabelle on github.
  • I am heyanabelle (https://keybase.io/heyanabelle) on keybase.
  • I have a public key ASDxC8FriYrmkcKn8eFCXfDpac_t04WRDwutvFXZ2Ybwdwo

To claim this, I am signing this object: