- fuzzy search
- Get closest in a group
- Reach clicked element inside functions
- Scroll to top of element
- Skip to content
- Set timing in javascript
- toggle specific class via general javascript and data-attributes
This file contains hidden or 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
<!-- | |
­ = Soft hyphen. To break text where you want | |
--> | |
Onelongword­thatwewant­tobreak |
- You cant change ::selection in input-fields..
- You can't have before or after-elements on input, -submit, checkboxes, radiobuttons etc.
- you can't target elements before or parent-elements
- you can't target a ::before-element from the parent class
This file contains hidden or 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
defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes |
IE 11 reads the content outside of the SVG-viewbox as well.
This file contains hidden or 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
{ | |
"comment": "A modified svgo compression-settings for SVGO-compresspor by Marius Hauken. For more info, please check <https://github.com/BohemianCoding/svgo-compressor>", | |
"pretty": false, | |
"indent": 0, | |
"plugins": [ | |
{ | |
"name": "cleanupAttrs" | |
}, | |
{ | |
"name": "cleanupEnableBackground" |
This file contains hidden or 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
/** | |
* This component should render a plot with Plotly, taking these three props: | |
* | |
* - xData: the data to be rendered on the x-axis as an array | |
* - yData: The data to be rendered on the y-axis as an array | |
* - type: The type of plot we want Plotly to render | |
* | |
* To see an example of how you should use Plotly look at the index.html file in the public/ folder. | |
* (and feel free to delete the code in there) | |
*/ |
This file contains hidden or 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
# When you open a new Terminal session, this file is loaded by Bash. | |
# It loads in the other dotfiles path,bash_prompt,exports,aliases,functions,extra | |
# and configures some useful settings such as auto correcting typos when using cd completion. | |
# In some instances .bashrc can be loaded, so this file makes sure that .bash_profile is called. | |
# Add `~/bin` to the `$PATH` | |
export PATH="$HOME/bin:$PATH" | |
# Load the shell dotfiles, and then some: | |
# * ~/.path can be used to extend `$PATH`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
import React from "react" | |
import styled from "styled-components" | |
const anArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] | |
const colorArray = ["#D8CFAC", "#F8F2D3", "#FFAB00", "#62796C", "#DAE0DC"] | |
const ModulusExample = () => ( | |
<Wrapper> | |
{anArray.map((item, index) => ( |
OlderNewer