web-tricks.org


Web Development tips and tricks: PHP, CSS, JavaScript, HTML, Drupal

Quick snippet how to make a youtube embed video responsive by CSS only.

Quick code sample on how to get and attach an image or file to node or other entity programmatically in Drupal 8.

Code snippet to load taxonomy term by name (or any otehr property) in Drupal 8.

Code snippet to add YouTube video as a background for you HTML tag.

Code snippet to create an Order and Order Items in Drupal Commerce for Drupal 8.

Code snippets for creating Drupal 8 products and product variations for Drupal Commerce.

Quick but helpful example - how to get the taxonomy terms of a vocabulary?

In this article I will show you how to create a Bootstrap subtheme for Drupal 8.

Here is the simple example how to create custom node token in Drupal 7.

Tags: 

The easiest way to blur text with css is to use transparent color and use text-shadow:

.blur-me {
   color: transparent;
   text-shadow: 0 0 5px rgba(0,0,0,0.3);
}
This text is blurred!
Tags: 
×

Hey! Don't miss a new cool stuff!