Skip to content

Instantly share code, notes, and snippets.

View SooJungChae's full-sized avatar

Soojung Chae SooJungChae

  • South Korea
View GitHub Profile
@SooJungChae
SooJungChae / screenSize.md
Created October 16, 2018 06:46
How to import css by screen size

index.html

<link media="(max-width:600px)" href="../../assets/css/style-small.css" rel="stylesheet">
<link media="(min-width:601px)" href="../../assets/css/style-large.css" rel="stylesheet">

style-small.css

@media (max-width:600px) {
 .project-header {
@SooJungChae
SooJungChae / webpack.config.js
Created October 15, 2018 08:52
How to import css in webpack react project
module.exports = {
entry: __dirname + "/app/Main.js",
output: {
path: __dirname + "/public",
filename: "bundle.js"
},
module: {
loaders: [
{
test: /\.jsx?$/,
@SooJungChae
SooJungChae / index.html
Created March 7, 2018 12:13
Portfolio
<!DOCTYPE>
<html>
<head>soo's portfolio</head>
<body>hello</body>
</html>
@SooJungChae
SooJungChae / test.js
Created January 23, 2018 07:32
React.js study from velopert code
test gist