반응형
반응형

image full screen css - How TO - Full Page Image

 

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_full_page 

 

Tryit Editor v3.6

body, html { height: 100%; margin: 0; } .bg { /* The image used */ background-image: url("img_girl.jpg"); /* Full height */ height: 100%; /* Center and scale the image nicely */ background-position: center; background-repeat: no-repeat; background-size: co

www.w3schools.com

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body, html {
  height: 100%;
  margin: 0;
}

.bg {
  /* The image used */
  background-image: url("img_girl.jpg");

  /* Full height */
  height: 100%; 

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
</style>
</head>
<body>

<div class="bg"></div>

<p>This example creates a full page background image. Try to resize the browser window to see how it always will cover the full screen (when scrolled to top), and that it scales nicely on all screen sizes.</p>

</body>
</html>

반응형
반응형

The creators of TinyMCE - open source and deployed in just 6 lines of code 

 

WYSIWYG editor 

 

https://www.tiny.cloud/docs/demo/basic-example/

 

TinyMCE | Basic example

This example contains the plugins needed for the most common use cases.

www.tiny.cloud

반응형
반응형

잘못된 경영 판단을 내리는 가장 흔한 이유는,
올바른 질문이 무엇인지는 생각도 안하면서,
올바른 답부터 구하려고 서두르기 때문이다.
- 피터 드러커


“이 세상에 존재하는 모든 새로운 것과 위대한 것 가운데
대답의 결과로 나온 것은 단 하나도 없다. 모두 다 질문의 결과다.
건너가고 도약하고 위대해지고 싶다면 질문하지 않을 수 없고,
생각하지 않을 수 없다.
생각하면 지배하고 생각하지 않으면 지배당한다.”
‘최진석의 대한민국 읽기’에 나온 질문의 중요성 

 

반응형
반응형

우리집 베란다의 등나무는
구입 후 몇 년 동안이나 꽃피우기를 완강히
거부했다. 그래서 나도 포기하지 않고 필사적으로
돌보게 되었다. 그럼에도 끝내 꽃은 피지 않았다.
그랬는데 4년 전 이사 후 갑자기 꽃을 피웠다.
딱 한 송이의 꽃을 피웠던 것이다. 형언할 수
없이 기뻤다. 그다음 해에는 꽃송이가
다섯으로 늘어났다. 올해는
꽃송이가 무려 아홉이다.


- 이토 세이코의《내 맘대로 베란다 원예》중에서 -


* 등나무의 생명력은 대단합니다.
꽃은 천천히 피지만 그렇기 때문에 더 앙증맞고
아름다워 보입니다. 옹달샘 노천카페에도 등나무가
몇 그루 있습니다. 어느덧 15년이 넘었습니다.
그만큼 꽃이 풍성합니다. 겨울이면 죽은 듯
조용하다가도 봄여름이 되면 꽃망울을
터뜨려 바라보는 이들을 기쁘게
합니다. 등나무 꽃그늘에서
잘 쉬게 합니다.

반응형

'아침편지' 카테고리의 다른 글

'정든 곳이 있나요?'  (0) 2021.08.30
공감과 조율  (0) 2021.08.27
'플립 러닝'(거꾸로 수업)  (0) 2021.08.25
잘 버티기  (0) 2021.08.24
반성의 단계  (0) 2021.08.23
반응형

EJS - Embedded JavaScript templating.

<%= EJS %>

https://ejs.co/

 

EJS -- Embedded JavaScript templates

Simple syntax JavaScript code in simple, straightforward scriptlet tags. Just write JavaScript that emits the HTML you want, and get the job done!

ejs.co

Options

  • cache Compiled functions are cached, requires filename
  • filename Used by cache to key caches, and for includes
  • root Set project root for includes with an absolute path (e.g, /file.ejs). Can be array to try to resolve include from multiple directories.
  • views An array of paths to use when resolving includes with relative paths.
  • context Function execution context
  • compileDebug When false no debug instrumentation is compiled
  • client Returns standalone compiled function
  • delimiter Character to use for inner delimiter, by default '%'
  • openDelimiter Character to use for opening delimiter, by default '<'
  • closeDelimiter Character to use for closing delimiter, by default '>'
  • debug Outputs generated function body
  • strict When set to `true`, generated function is in strict mode
  • _with Whether or not to use with() {} constructs. If false then the locals will be stored in the locals object. (Implies `--strict`)
  • localsName Name to use for the object storing local variables when not using with Defaults to locals
  • rmWhitespace Remove all safe-to-remove whitespace, including leading and trailing whitespace. It also enables a safer version of -%> line slurping for all scriptlet tags (it does not strip new lines of tags in the middle of a line).
  • escape The escaping function used with <%= construct. It is used in rendering and is .toString()ed in the generation of client functions. (By default escapes XML).
  • outputFunctionName Set to a string (e.g., 'echo' or 'print') for a function to print output inside scriptlet tags.
  • async When true, EJS will use an async function for rendering. (Depends on async/await support in the JS runtime.Tags
    • <% 'Scriptlet' tag, for control-flow, no output
    • <%_ ‘Whitespace Slurping’ Scriptlet tag, strips all whitespace before it
    • <%= Outputs the value into the template (HTML escaped)
    • <%- Outputs the unescaped value into the template
    • <%# Comment tag, no execution, no output
    • <%% Outputs a literal '<%'
    • %> Plain ending tag
    • -%> Trim-mode ('newline slurp') tag, trims following newline
    • _%> ‘Whitespace Slurping’ ending tag, removes all whitespace after it

 

 

.

반응형
반응형

https://darebee.com/workouts/dryland-swimmers-workout.html

 

수영은 훈련이 필요하며 단순히 물을 얻을 수 없는 날에는 Dry Land 운동이 있습니다. 

편리한 수영장 없이 집에서 편안하게 하고 수영을 하는 사람들에게 가장 적합한 마른 땅 운동을 즐기십시오. 

수영장에서 몇 바퀴를 돌고 싶었지만 시간이 없었을 뿐만 아니라 수건을 깔고 물이 마를 때까지 기다릴 필요가 없는 날에 적합합니다. 

https://www.youtube.com/watch?v=JSrs3O9K6IQ 

반응형

'운동일지 > etc' 카테고리의 다른 글

헬스장 출근일지 2023-03  (0) 2023.04.03
2022-05-10. 점심 헬스 다시 시작 ~  (0) 2022.05.11
[WORKOUT] PUSH-UPS & SQUATS  (0) 2021.08.25
[workout] CORE for runners  (0) 2021.06.18
darebee De-stress stretching  (0) 2020.10.26

+ Recent posts