This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Material shadow rendering using gaussian blur and two textures like in | |
https://codepen.io/sdthornton/pen/wBZdXq | |
Basically, implementing CSS box-shadow and aplying it like in the example | |
(two shadows with different blur radius and offset). | |
Screenshot: http://i.imgur.com/7VzE8Al.png | |
""" | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.uix.label import Label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="4 ways to vertical align list of elements."> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style> | |
ul li {list-style-type: none; border: 1px solid red; margin: 10px;} | |
ul li:hover {color: red;} |