Git Product home page Git Product logo

motion's Introduction

Motion

Make memo web-site using TypeScript

motion's People

Contributors

hotbreakb avatar

Stargazers

 avatar

Watchers

 avatar

motion's Issues

div끼리 알 수 없는 공간이 생김

🔺 문제: .memo로 여러 개를 만들었는데 알 수 없는 공간이 생긴다.
👍 해결: * { white-space: pre; }를 써서 한 줄로 입력되게 했더니 공간이 생긴 것이었다. 남발하지 말자

Hnet com-image

position:absolute; height:100%; 화면이 꽉 채워지지 않음

🔺 문제: 모달의 전체 화면은 body의 크기와 같아야 하는데, 높이가 모니터 화면 크기만큼 잘렸다.
👍 해결: body {position: relative;}를 추가한다. absolute는 relative인 부모를 기준으로 크기가 정해진다.
🐿 참고 자료


Hnet-image

HTML/CSS
<body>
  <div class="modal"></div>
</body>
body {
  width: 100%;
  height: 100%;
}
.modal {
  position: absolute;
  width: 100%;
  height: 100%;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.