Skip to content

Instantly share code, notes, and snippets.

View acbrent25's full-sized avatar

Adam Champagne acbrent25

View GitHub Profile
@acbrent25
acbrent25 / React-Component.js
Created December 21, 2017 20:49
[React Component] #react
import React from 'react'
import ReactDOM from 'react-dom'
class Hello extends React.Component {
render () {
return <div className='message-box'>
Hello {this.props.name}
</div>
}
}
@acbrent25
acbrent25 / html-email-snippets.html
Last active December 20, 2017 15:52
[Email: Master Email HTML Snippets] Fixes to common issues with HTML email #email
<!-- Fixes <sup> from becoming too small in Outlook -->
<span style="font-size: 70%; line-height: 0; vertical-align: 3px">&reg;</span>
<!-- Force words to stick together -->
<span style="white-space: nowrap;">Don't wrap this text</span>
<!-- Remove blue border from images links -->
<a href="#" target="_blank" border="0" style="border:none;"> <img src="image.png" alt="alt-text" width="245" border="0" style="border:none;"></a>
<!-- Spacer -->