Html.Attributes.style
does not support setting custom properties. For e.g. the following won't work:
style "--alert-text-color" "#123456"
re: [Asking for support][support]
{ | |
"quotes": [ | |
{ "text": "Life isn't about getting and having, it's about giving and being.", "author": "Kevin Kruse" }, | |
{ "text": "Whatever the mind of man can conceive and believe, it can achieve.", "author": "Napoleon Hill" }, | |
{ "text": "Strive not to be a success, but rather to be of value.", "author": "Albert Einstein" }, | |
{ "text": "Two roads diverged in a wood, and I—I took the one less traveled by, And that has made all the difference.", "author": "Robert Frost" }, | |
{ "text": "I attribute my success to this: I never gave or took any excuse.", "author": "Florence Nightingale" }, | |
{ "text": "You miss 100% of the shots you don't take.", "author": "Wayne Gretzky" }, | |
{ "text": "I've missed more than 9000 shots in my career. I've lost almost 300 games. 26 times I've been trusted to take the game winning shot and missed. I've failed over and over and over again in my life. And that is why I succeed.", "author": "Michael Jordan" }, | |
{ "text": "The most difficult thing is the decis |
module Main exposing (..) | |
import Html exposing (..) | |
main = | |
view init | |
-- MODEL |
I install and upgrade it from here.
Plugins I currently use:
Plugins I've used in the past:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = 'ubuntu/trusty64' | |
config.vm.provision 'shell', path: 'install-python' | |
end |
For whatever reason you may want to upgrade your version of Python that came with your Ubuntu distro. However, completely replacing the system version is not recommended. Here is how to install Python for the local user.
Python 2.7.10
$ mkdir ~/local/python-2.7.10
$ cd ~/Downloads
Install Python, follow the steps here.
Steps I take when beginning a new Django project.
$ mkdir [project_name]_project
$ cd [project_name]_project
Software you need
The process
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
This is where any fun you might have been having ends. Now it’s time to get serious and talk about rules.
Writing CSS is hard. Even if you know all the intricacies of position and float and overflow and z-index, it’s easy to end up with spaghetti code where you need inline styles, !important rules, unused cruft, and general confusion. This guide provides some architecture for writing CSS so it stays clean and ma