5 posts tagged with "docusaurus"

View All Tags

freecodecamp

Adrian Yang

Adrian Yang

Front End Engineer @ Facebook

Responsive Web Design Certification

Applied Visual Design

Create Visual Balance Using the text-align Property

text-align: justify;
causes all lines of text except the last line to meet the left and right edges of the line box.
即每行的左右两端都紧贴行的边缘。
text-align: center; centers the text
text-align: right; right-aligns the text
And text-align: left; (the default) left-aligns the text.

djust the Width of an Element Using the width Property

img {
width: 220px;
}

smallProject

Adrian Yang

Adrian Yang

Front End Engineer @ Facebook

贪吃蛇

案例目标

游戏的目的是用来体会JavaScript高级语法的使用 不需要具备抽象对象的能力,使用面向对象的方式分析问题,需要一个漫长的过程。

功能实现

搭建页面

放一个容器盛放游戏场景 div#map,设置样式

#map {
width: 800px;
height: 600px;
background-color: #ccc;
position: relative;
}

Welcome

Adrian Yang

Adrian Yang

Front End Engineer @ Facebook

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet