今天用css做了一个QQ登录页面

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>今天写一些简单的页面</title>

<link rel="stylesheet" style="text/css" href="d2.css">

</head>

<body>

<table>

<tr>

<td>

<div id="a1">

<h1>QQ</h1>

<form method="post">

<input type="text"  name="user"required="required" placeholder="QQ" name="a">

<input type="password" required="required" placeholder="pw" name="b">

<button id="a2" type="submit">登录</button>

</form>

</div>

</td>

</table>

</body>

</html>

body{

width:500px;

height:300px;

background-color:#BCEAFF;

}

#a1{

position: absolute;

top: 50%;

left:50%;

margin: -150px 0 0 -150px;

width: 200px;

height: 300px;

}

#a1 h1{

color:white;

text-shadow:0 0 10px;

text-align:center;

}

h1{

font-size:30px;

margin: 0.67em 0;

}

table{

background-color:#72C1F2;

border:1px solid #bbb;

width:511px;

height:350px;

margin:80px 380px ;

}

input{

width: 200px;

height: 18px;

margin-bottom: 10px;

padding: 10px;

font-size: 13px;

color: #fff;

text-shadow:1px 1px 1px;

border:1px solid #56536A;

border-radius: 10px 0px 10px 10px;

background-color: #D9E4FC;

}

#a2{

width: 223px;

min-height: 22px;

display: block;

background-color: #00AEFF;

border: 1px solid #3762bc;

color: #fff;

padding: 9px 14px;

font-size: 15px;

border-radius: 0px 10px 0px 10px;

}

#p1{

border:1px solid #aaa;

vertical-align:top;

width:80px;

height:80px;

}

form{

border-radius:10px;

color:white;

}

<!doctype html>

<html lang="en">

<head>

<meta charset="UTF-8">

<title>Document</title>

</head>

<!-- <style>

th:hover td{

background-color: #333333;

}

</style> -->

<link rel="stylesheet" style="text/css" href="1.css">

<body>

<!--

<table border="1px" width="200" height="200" >

<caption>表格的合并</caption>

<tr>

<td colspan="2" align="center" bgcolor="555555">1</td>

<td rowspan="2" align="center">3</td>

</tr>

<tr>

<td rowspan="2" align="center">4</td>

<td align="center" bgcolor="purple">5</td>

</tr>

<tr>

<td colspan="2" align="center">8</td>

</tr>

</table> -->

<h2 id="c4">

<span id="c1">有</span>

<span id="c2">妖</span>

<span id="c3">气</span>

</h2>

</body>

</html>

#c4{

padding-bottom:4px;

border-bottom:2px solid #A1859F;

width:300px;

background:url(9.png) repeat-x bottom;

}

#c1{

font-size:70px;

font-family:Arial;

color:#B7B170;

}

#c2{

font-size:70px;

color:#56D097;

}

#c3{

font-size:70px;

color:#E6CDA6;

}

body{

background-color:#4A374A;

}

时间: 2024-08-09 19:52:41

今天用css做了一个QQ登录页面的相关文章

基于原生的 html css js php ajax做的一个 web登录和注册系统

完整代码下载: 百度网盘地址 https://pan.baidu.com/s/1qFsRoODkccF1VkEsGLsQTw 提取码 :p4zr 永久有效 有疑问可以给我发邮件:[email protected] || [email protected] 1 注册页面 2 登录页面 3 登录成功主页 原文地址:https://www.cnblogs.com/weihexinCode/p/12340033.html

Vue.js写一个SPA登录页面的过程

技术栈 vue.js 主框架 vuex 状态管理 vue-router 路由管理 一般过程 在一般的登录过程中,一种前端方案是: 检查状态:进入页面时或者路由变化时检查是否有登录状态(保存在cookie或者本地存储的值): 如果有登录态则查询登录信息(uid,头像等...)并保存起来:如果没有则跳转到登录页: 在登录页面(或者登录框),校检用户输入信息是否合法: 校检通过后发送登录请求:校检不成功则反馈给用户: 登录成功则从后端数据中取出session信息保存登录状态(可能需要跳转);登录不成功

Vue.js实现一个SPA登录页面的过程

技术栈 vue.js 主框架 vuex 状态管理 vue-router 路由管理 一般过程 在一般的登录过程中,一种前端方案是: 检查状态:进入页面时或者路由变化时检查是否有登录状态(保存在cookie或者本地存储的值): 如果有登录态则查询登录信息(uid,头像等...)并保存起来:如果没有则跳转到登录页: 在登录页面(或者登录框),校检用户输入信息是否合法: 校检通过后发送登录请求:校检不成功则反馈给用户: 登录成功则从后端数据中取出session信息保存登录状态(可能需要跳转);登录不成功

利用css来让一个div在页面中垂直居中的方法

一.如何让一个div在页面中垂直居中(请至少列出三种) 1.距离页面窗口左边框和上边框的距离设置为50%,这个50%就是指页面窗口的宽度和高度的50%,最后将该DIV分别左移和上移,左移和上移的大小就是该DIV宽度和高度的一半. width:300px; height:200px; position:absolute; left:50% top:50%; margin:-100px 0 0 -150px ; 2.使用jquery代码  $(window).resize(function(){ $

nodejs之利用第3方包,做数据库操作、登录页面验证案例(案例中的动态页面都是基于后端渲染的)

1.先安装第3方包 新建项目文件夹->建入口js文件->npm init 创建包管理文件 package.json ->npm install mysqljs/mysql 2.在项目入口文件来做数据库操作(数据库操作语句,其实可以去npm官网查看这个masql插件的文档) 真实的工作场景中,数据库位于一台单独的服务器上 3.mysql的sql语句的学习   4.封装操作数据库的api 5.登录页面小案例---走通前端+后端+数据库一套流程 原文地址:https://www.cnblogs

用字符串处理函数中的比较函数strcmp做的一个密码登录验证

正确返回0 1大返回正数 2大返回负数  1,2表示输入字符串1和字符串2 根据ASCII码大小来判断 代码: 1 #include<stdio.h> 2 #include<string.h> 3 int main() 4 { 5 //字符串比较函数 根据ASCII码值的大小来比较 strcmp 6 //相等 返回0 1大返回正数 2大返回负数 1和2为要比较的两个字符串 7 char user[20] = { "mrsoft" }; //设置用户名字符串 8

纯CSS做的一个Silder

1 <!DOCTYPE html> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 5 <title></title> 6 <style> 7 .containe

做的一个HTML表白页面

页面地址: http://myspace123.qiniudn.com/love/index.html 目录文件结构: index.html <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>表白<

QQ登录页面

#import "ViewController.h" #import "User.h" @interface ViewController () { //头像 UIImageView *iconView; //QQ号码 UITextField *qqTF; //密码 UITextField *passworldTF; //密码可见按钮 UIButton *seeBTN; //登陆按钮 UIButton *loginBTN; } @property(nonatomic