Git Product home page Git Product logo

fe-kakaopage's Introduction

PAGE UI CLONE

Table of Contents

요구사항

  • HTML
  • HTML은 용도에 맞는 tag를 찾아서 사용한다.
  • HTML5 Layout 태그를 활용한다.
  • CSS
  • 모든 엘리먼트들은 가지런히 배치하고 일정한 간격을 유지하도록 한다.
  • 배치를 할때 FLEX 속성을 사용한다.

HTML

유의해야 할 태그 : header, section, nav, footer, aside 닫히지 않는 태그?

CSS

style 적용방법


  • inline(HTML 태그 안에 적용)
<span  style=”color:red;”> HELLO World ! </span>  
  • internal (style태그로 지정)
<!DOCTYPE html>
<html>
<head>
	<meta charset=”utf-8” /> 
	<title>World !</title>
   <style>
  	 span { 
 	color :red;   
 	 }
	</style>
</head>

<body>
  <span> HELLO world ! </span>  
</body>
</html>
  • external (외부 css파일로 만들기)
<link rel="stylesheet" href="style.css"> 

엘리먼트가 배치되는 방식


중요하게 이해해야 할 속성

  • display(block, inline, inline-block)
    • block 쌓인다.
    • inline 우측, 아래쪽 빈자리로 흐른다. 높이와 넓이를 지정해도 반영되지 않는다.
<div>
    <span>나는 어떻게 배치되나요?</span>
    <span>좌우로 배치되는군요</span>
    <a>링크는요?</a>
    <strong>ㄹ이크도 강조도 모두 좌우로 흐른다.</strong>
</div>
  • position(static, absolute, relative, fixed)
    • position속성은 기본 static이다. 그냥 순서대로 배치됨.
    • absolute는 기준점에 따라서 특별한 위치에 위치합니다. 기준점을 상위 엘리먼트로 단계적으로 찾아가는데 static이 아닌 position이 기준점입니다.
    • relative는 원래 자신이 위치해야 할 곳을 기준으로 이동합니다. top/left/right/bottom으로 설정합니다.
    • fixed는 viewport(전체화면)좌측, 맨위를 기준으로 동작합니다.
  • float(left, right)

FLEXBOX


CSS Flexbox Layout Module

  • Block, for sections in a webpage
  • Inline, for text
  • Table, for two-dimensional table data
  • Positioned, for explicit position of an element

Prerequisites

What things you need to install the software and how to install them.

Give examples

Installing

A step by step series of examples that tell you how to get a development env running.

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo.

Usage

Add notes about how to use the system.

fe-kakaopage's People

Contributors

crongro avatar moonyerim2 avatar onlinekkabchi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

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.