Skip to content

Instantly share code, notes, and snippets.

@xyzdata
Last active June 30, 2017 14:29
Show Gist options
  • Save xyzdata/a3cb5e35fbd7179dab57f582a960571a to your computer and use it in GitHub Desktop.
Save xyzdata/a3cb5e35fbd7179dab57f582a960571a to your computer and use it in GitHub Desktop.
React Event
@xyzdata
Copy link
Author

xyzdata commented Jun 21, 2017

@xyzdata
Copy link
Author

xyzdata commented Jun 21, 2017

css

https://stackoverflow.com/questions/4264527/vertical-text-direction

https://www.thecssninja.com/css/real-text-rotation-with-css

image

<p class="vericaltext">
Hi This is Vertical Text!
</p>



.vericaltext{
    width:1px;
    word-wrap: break-word;
    font-family: monospace; /* this is just for good looks */
}

@xgqfrms-GitHub
Copy link

Stateless function components & no refs

React & event.preventDefault() & event.stopPropagation();

https://gist.github.com/xgqfrms-GitHub/cc2598e0410542c504aa7fee4e2c8b9f#gistcomment-2136883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment