Every element in current Baseline
browsers
that would need a margin or padding removing in a reset stylesheet:
| Element | Chrome | Chrome for Android | Edge | Firefox | Firefox for Android | Safari | Safari for iOS |
|---|---|---|---|---|---|---|---|
body |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
h1 |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
Every element in current Baseline
browsers
that would need a margin or padding removing in a reset stylesheet:
| Element | Chrome | Chrome for Android | Edge | Firefox | Firefox for Android | Safari | Safari for iOS |
|---|---|---|---|---|---|---|---|
body |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
h1 |
✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
| // ==UserScript== | |
| // @name TweetXer | |
| // @namespace https://github.com/lucahammer/tweetXer/ | |
| // @version 0.9.3 | |
| // @description Delete all your Tweets for free. | |
| // @author Luca,dbort,pReya,Micolithe,STrRedWolf | |
| // @license NoHarm-draft | |
| // @match https://x.com/* | |
| // @match https://mobile.x.com/* | |
| // @match https://twitter.com/* |
| # .Brewfile | |
| # To install: brew bundle install | |
| # Thanks to Casey Liss for pointing me to this! | |
| # https://www.caseyliss.com/2019/10/8/brew-bundle | |
| cask_args appdir: "/Applications" | |
| tap "homebrew/cask-drivers" | |
| tap "homebrew/cask-versions" | |
| tap "homebrew/core" |
| #!/bin/bash | |
| # ============================================================================= | |
| # @file GitHub gist | |
| # @brief stop Adobe Creative Cloud app from auto-launching on login on macOS | |
| # @author Michael Hucka <[email protected]> | |
| # @created 2021-08-12 | |
| # @website https://gist.github.com/mhucka/59e785a315d813d14cd0258b89a2fcac | |
| # | |
| # I find Adobe Creative Cloud absolutely infuriating. It installs auto | |
| # launchers that are not in the user's login app list, and the services are |
| cask_args appdir: "/Applications" | |
| tap "homebrew/cask-fonts" | |
| brew "mas" | |
| #### LAPTOPS #### | |
| #cask "tripmode" | |
| #### LAPTOPS #### | |
| mas "Boop", id: 1518425043 |
I have had a few requests for more information about using Lando with Drupal 8, the Emulsify theme and Gulp. In order to put what I've learned in one place, I'm adding my notes here.
My initial problem was reported here, but since then I have discovered a few additional things worth noting.
Once you have a working site on Lando and are ready to install Emulsify use the following directions instead of what has provided by the Emulsify developers. These instructions assume you have used Composer to install Drupal and that the root Drupal files are in the /web directory.
NOTE: To follow these instructions, you will need to run NPM commands from your host machine, which means you must have Node and NPM installed. Fortunately, they are installed together in one installation. If you wish to confirm you have them installed, run node -v and npm -v. To install, visit nodejs.org and follow the i
| # One liner | |
| wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com | |
| # Explained | |
| wget \ | |
| --recursive \ # Download the whole site. | |
| --page-requisites \ # Get all assets/elements (CSS/JS/images). | |
| --adjust-extension \ # Save files with .html on the end. | |
| --span-hosts \ # Include necessary assets from offsite as well. | |
| --convert-links \ # Update links to still work in the static version. |
First install patternlab/edition-node-gulp.
Then update package.json and run npm install in the command line.
Then update gulpfile.js, then patternlab-config.json.
If you're renaming your default stylesheet, update it in source/_meta/_00-head.mustache.
Once everything is updated, test with gulp patternlab:build.
| 1. Highlight a recommended option, | |
| 2. Allow users to switch currency (€/$/£) | |
| 3. Allow users to switch pricing monthly/yearly | |
| 4. Keep the entire pricing plan area clickable | |
| 5. Use slider to calculate how much a user would save | |
| 6. Provide free first month for good engagement | |
| 7. Prominently highlight testimonials prominently | |
| 8. Repeating call to action on top and bottom | |
| 9. Sell benefits instead of features | |
| 10. Indicate that users can cancel any time |