prism code
- 카테고리 없음
- 2018. 12. 13. 18:30
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div class="test">test block</div>
</body>
</html>
html
<s_index_article_rep>
<div class="list-thumb">
<a href="[#\#_article_rep_link_##]" class="thumb-link">
<s_article_rep_thumbnail>
<span class="thumb"><img src="//i1.daumcdn.net/thumb/R300x0/?fname=[#\#_article_rep_thumbnail_raw_url_##]"></span>
</s_article_rep_thumbnail>
<div class="thumb-body">
<strong class="thumb-title">[#\#_article_rep_title_##]</strong>
<p><span class="cate">[#\#_article_rep_category_##]</span><span class="date">[#\#_article_rep_date_##]</span></p>
<p class="txt-post">[#\#_article_rep_summary_##]</p>
</div>
</a>
</div>
</s_index_article_rep>
css
#tt-body-page .another_category th span {
font-weight: normal;
text-decoration: none;
font: 1.5 "Nanum Gothic", 나눔고딕, "Malgun Gothic", 맑은고딕, "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
border: none !important;
}
* html .another_category table {
width: auto !important;
}
*:first-child + html .another_category table {
width: auto !important;
}
/// Get brekpoint from a nested list of breakpoints
/// ---
/// @require {variable} $breakpoints - Breakpoints map
/// @param {String} $orientation - `horizontal` or `vertical`
/// @param {String} $breakpoint - Breakpoint
/// @return {Number} Breakpoint value
@function get-breakpoint($orientation, $breakpoint) {
@return map-get(map-get($breakpoints, $orientation), $breakpoint);
}
%cc-background {
background-color: $default-main-color;
}
$font-stack: Helvetica, sans-serif
$primary-color: #333
body
font: 100% $font-stack
color: $primary-color
@width: 10px;
@height: @width + 10px;
#header {
width: @width;
height: @height;
}
js
var person = {
firstName: "John",
lastName : "Doe",
id : 5566,
fullName : function() {
return this.firstName + " " + this.lastName;
}
};
$("button").click(function(){
$("div").animate({
left: '250px',
opacity: '0.5',
height: '150px',
width: '150px'
});
});
git add .
git commit -m "commit"
git pull
git push
#!/usr/bin/env bash
echo "hello world"
printf "hello world"
printf "%s %s" hello world
git add .
git commit -m "commit"
git pull
git push