Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

CSS

By nuwantha , 24 July, 2017

CSS Fluid Width Video

Tags

  • CSS
  • Theming

Example :

By editor , 19 June, 2017

Test a webpage for Retina display

Tags

  • Testing
  • CSS
  • Theming

To test retina display, just adjust the screen pixel ratio.

By editor , 8 March, 2017

Display a web page as print. Media Print Emulate For development and test

Tags

  • CSS
  • Theming

Media Print Emulate on Chrome

(Tested on Chrome Version 56)

By editor , 24 November, 2016

HTML Unicode symbols (From U+2600)

Tags

  • Theming
  • CSS
By editor , 15 November, 2016

Basic CSS Styling tips

Tags

  • Theming
  • CSS
By editor , 9 November, 2016

Specific styling for internet explorer (IE)

Tags

  • Theming
  • CSS

 

By editor , 7 October, 2016

CSS Font Styling

Tags

  • CSS
  • Code
  • Theming

Standard weights:

medium -> font-weight : 500;
semi-bold ->font-weight : 600;

Font Face

Example

By editor , 1 July, 2016

Reorder Elements using CSS

Tags

  • Theming
  • CSS

Example :

<style>
#parent-div { display: flex; }
#el1 { order: 3; }
#el2 { order: 2; }
#el3 { order: 1; }
</style>

By editor , 21 June, 2016

SASS SCSS LESS compile

Tags

  • CSS
  • Code
  • Settings
  • Theming

Compilers

1. COMPASS

Compass is a powerfull command line compiler

Install (Linux debian) : sudo apt-get install ruby-compass

Link : http://compass-style.org/help/documentation/command-line/

2. Koala

By editor , 20 June, 2016

CSS Word Wrapping and Text Overflow Propertys

Tags

  • Theming
  • CSS

Word Wrap ( word-wrap )

Available values of word-wrap property: normal, break-word, initial, inherit

Example : Disable HTML word wrapping using CSS

.your-class{white-space:nowrap;}

Pagination

  • 1
  • Next page
CSS

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer