silvercircle/github/io
Twitter Facebook Google+ Google+ Email

Tag: CSS - all content

3 articles in this section. Page 1 of 1

Creating a simple tab control in Jekyll

Last modified:
1878 Words
16:38 | by Alex Vie in Jekyll
Reading time: approx. 6 minute(s)
Jekyll Logo
Jekyll Logo

A include-able fragment to build a simple tab control in a Jekyll page. Simple and flexible, can be adopted easily to other static page generators.

This is HTML/CSS/Javascript only, and should work for any static site generator with an include feature similar to Jekyll’s.

jekyll css

Embedding YouTube videos in Jekyll

Last modified:
476 Words
19:41 | by Alex Vie in Jekyll
Reading time: approx. 1 minute(s)
Jekyll Logo
Jekyll Logo

A include-able fragment that allows to embed youtube videos by video ID. The video will be sized properly to the available width using CSS only. No Javascript or other dependencies needed.

This is HTML/CSS only, should work for any static site generator with an include feature similar to Jekyll’s.

jekyll css video

YouTube embedding with correct aspect and any width

Last modified:
525 Words
23:56 | by alex
Reading time: approx. 1 minute(s)

This is a HowTo and deals with the problem of embedding YouTube videos at any desired size. The size of the video should be determined by the surrounding container. No fixed width and height values are needed.

css