07714 688412 [email protected]
Home » Web Design » Embedding Code To My Personal WordPress Blog

Well, my insomnia seems to be continuing – still, it is no biggy; I have managed to do the majority of work that I needed to do for the weekend. I have taken the time awake to learn a bit about code and coding – and – more importantly how to implement it into WordPress.

I was given some advice from a friend, Matt, via Brian Eno’s “Oblique Strategies.” The preamble texted to me by WhatsApp concerned the need to try something on home-ground before you try it in the Real World – well, my home ground, the testing bed for a lot of the design that I do, is www.ijopona.org – my Blog.

I have only just come across Eno’s ‘Oblique Strategies’ which is weird in that I am also a semi-professional musician. Oblique Strategies (subtitled Over One Hundred Worthwhile Dilemmas) is a deck of 7-by-9-centimetre printed cards in a black container box, created by Brian Eno and Peter Schmidt and first published in 1975. Each card offers a challenging constraint intended to help artists (particularly musicians) break creative blocks by encouraging lateral thinking.

It helped me think towards a redesign of my Blog, Ijo Pona.

The centrepiece for the redesign is a glitch text animation comprised purely of code and a change of colour scheme – here is the HTML & CSS generating the same text as on my Blog and below the Glitch text you will find the code, I hope it comes in useful:

Funny little man.

HTML

<section class="portfolio-experiment">
 
<div class="experiment-title" contenteditable="true">Funny little man.</div>

</section>

CSS

.portfolio-experiment, .scene {
  height: 100vh;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.portfolio-experiment {
  background: #ffffff;
  color: #203e86;
}
.portfolio-experiment .experiment-title {
  outline: none;
  font-size: 10vw;
  text-align: center;
  font-family: "Roboto", monospace;
  min-height: 10vw;
  max-width: 80vw;
  min-width: 10vw;
}
.portfolio-experiment .experiment-title,
.portfolio-experiment .experiment-title * {
  -webkit-animation: cray 6s infinite steps(50);
          animation: cray 6s infinite steps(50);
  display: inline-block;
}
@-webkit-keyframes cray {
  2% {
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  4% {
    font-weight: 300;
    font-style: italic;
    text-decoration: underline;
    text-transform: none;
  }
  6% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  8% {
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  10% {
    font-weight: 300;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  12% {
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  14% {
    font-weight: 400;
    font-style: normal;
    text-decoration: underline;
    text-transform: none;
  }
  16% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: lowercase;
  }
  18% {
    font-weight: 400;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  20% {
    font-weight: 300;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  22% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  24% {
    font-weight: 400;
    font-style: normal;
    text-decoration: underline;
    text-transform: lowercase;
  }
  26% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  28% {
    font-weight: 100;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  30% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  32% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: capitalize;
  }
  34% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  36% {
    font-weight: 200;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  38% {
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  40% {
    font-weight: 600;
    font-style: normal;
    text-decoration: line-through;
    text-transform: capitalize;
  }
  42% {
    font-weight: 100;
    font-style: normal;
    text-decoration: line-through;
    text-transform: lowercase;
  }
  44% {
    font-weight: 600;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  46% {
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  48% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: capitalize;
  }
  50% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  52% {
    font-weight: 100;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  54% {
    font-weight: 300;
    font-style: normal;
    text-decoration: underline;
    text-transform: none;
  }
  56% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  58% {
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  60% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  62% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  64% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  66% {
    font-weight: 500;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  68% {
    font-weight: 600;
    font-style: italic;
    text-decoration: underline;
    text-transform: none;
  }
  70% {
    font-weight: 400;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  72% {
    font-weight: 100;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  74% {
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  76% {
    font-weight: 400;
    font-style: italic;
    text-decoration: underline;
    text-transform: none;
  }
  78% {
    font-weight: 600;
    font-style: italic;
    text-decoration: none;
    text-transform: uppercase;
  }
  80% {
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  82% {
    font-weight: 200;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  84% {
    font-weight: 200;
    font-style: italic;
    text-decoration: underline;
    text-transform: capitalize;
  }
  86% {
    font-weight: 200;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  88% {
    font-weight: 700;
    font-style: normal;
    text-decoration: underline;
    text-transform: none;
  }
  90% {
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    text-transform: lowercase;
  }
  92% {
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    text-transform: capitalize;
  }
  94% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  96% {
    font-weight: 300;
    font-style: italic;
    text-decoration: none;
    text-transform: uppercase;
  }
  98% {
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
}
@keyframes cray {
  2% {
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  4% {
    font-weight: 300;
    font-style: italic;
    text-decoration: underline;
    text-transform: none;
  }
  6% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  8% {
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  10% {
    font-weight: 300;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  12% {
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  14% {
    font-weight: 400;
    font-style: normal;
    text-decoration: underline;
    text-transform: none;
  }
  16% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: lowercase;
  }
  18% {
    font-weight: 400;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  20% {
    font-weight: 300;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  22% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  24% {
    font-weight: 400;
    font-style: normal;
    text-decoration: underline;
    text-transform: lowercase;
  }
  26% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  28% {
    font-weight: 100;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  30% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  32% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: capitalize;
  }
  34% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  36% {
    font-weight: 200;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  38% {
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  40% {
    font-weight: 600;
    font-style: normal;
    text-decoration: line-through;
    text-transform: capitalize;
  }
  42% {
    font-weight: 100;
    font-style: normal;
    text-decoration: line-through;
    text-transform: lowercase;
  }
  44% {
    font-weight: 600;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  46% {
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  48% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: capitalize;
  }
  50% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  52% {
    font-weight: 100;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  54% {
    font-weight: 300;
    font-style: normal;
    text-decoration: underline;
    text-transform: none;
  }
  56% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  58% {
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  60% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  62% {
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  64% {
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  66% {
    font-weight: 500;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  68% {
    font-weight: 600;
    font-style: italic;
    text-decoration: underline;
    text-transform: none;
  }
  70% {
    font-weight: 400;
    font-style: normal;
    text-decoration: line-through;
    text-transform: none;
  }
  72% {
    font-weight: 100;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
  74% {
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  76% {
    font-weight: 400;
    font-style: italic;
    text-decoration: underline;
    text-transform: none;
  }
  78% {
    font-weight: 600;
    font-style: italic;
    text-decoration: none;
    text-transform: uppercase;
  }
  80% {
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  82% {
    font-weight: 200;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  84% {
    font-weight: 200;
    font-style: italic;
    text-decoration: underline;
    text-transform: capitalize;
  }
  86% {
    font-weight: 200;
    font-style: italic;
    text-decoration: none;
    text-transform: none;
  }
  88% {
    font-weight: 700;
    font-style: normal;
    text-decoration: underline;
    text-transform: none;
  }
  90% {
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    text-transform: lowercase;
  }
  92% {
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    text-transform: capitalize;
  }
  94% {
    font-weight: 200;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
  }
  96% {
    font-weight: 300;
    font-style: italic;
    text-decoration: none;
    text-transform: uppercase;
  }
  98% {
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }
}

Get in touch,

If you have a project in mind, I would love to hear from you.

error: Content is protected !!

Pin It on Pinterest