Git Product home page Git Product logo

dribbble-animate-login's Introduction

design_login

Alt text

一、前言

dribbble地址 : Deepak Yadav - Sign Up and Login Animated

二、文件夹

  • /font:一个Roboto-Light.ttf字体文件。
  • /js:一个jquery.js库文件。
  • /photos:一些icon和背景图片等。
  • /index.html : 入口文件

三、重要代码

1.字体文件引入

@font-face{
	font-family:roboto-light;
	src:url(fonts/Roboto-Light.ttf);
}

2.placeholder字体颜色

::-webkit-input-placeholder {  /* WebKit browsers */
	color:#dddddd;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 
	color: red; 
} 
::-moz-placeholder { /* Mozilla Firefox 19+ */ 
	color: red; 
} 
:-ms-input-placeholder { /* Internet Explorer 10+ */ 
	color: red; 
} 

注意 : 使用时一定要将这几条规则放在对应input前

3.图片下方有空白

如何解决div里面img图片下方有空白的问题 : https://jingyan.baidu.com/article/7082dc1c69dc6fe40a89bdfe.html

4.width与min-width联合使用

这个div块宽度随着网页的大小变化,网页在全屏的时候div宽度也全屏,但是网页缩到无论怎么小的时候,div最小宽度也就720px。

div{
	min-width:720px;
	width:100%
}

dribbble-animate-login's People

Contributors

daimingyu avatar

Watchers

James Cloos 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.