登入网页美化代码教程(登录页面美化)
admin 发布:2022-12-19 21:46 159
今天给各位分享登入网页美化代码教程的知识,其中也会对登录页面美化进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!
本文目录一览:
- 1、html做登录页面怎么美化
- 2、html网页设计:一个简单的登录界面代码!
- 3、如何通过代码美化自定义WordPress后台登陆界面,半透明效果登陆框
- 4、网页制作中登陆界面设计代码
- 5、网页设计用html和js制作一个登录界面,大神帮帮忙?
html做登录页面怎么美化
最简单的,网上有登录模板总有一款能满足你的需求,也有已经写好的登录html代码,各种效果的都有
html网页设计:一个简单的登录界面代码!
!doctype html
html
head
meta charset="utf-8"
link href="main.css" type="text/css" rel="stylesheet"
title登陆界面/title
/head
body
div class="login_ico"
img src="images/login_ico.png"
/div
div class="login_putin"
ul
liinput type="text" /li
liinput type="password" /li
/ul
/div
div class="login_btn"
input type="submit" value="登陆"
/div
/body
/html
样式 :
*{
margin:0;
padding:0;}
li{
list-style-type:none;
margin:0;
padding:0;}
a{
text-decoration:none;
color:#000;}
/*---------------------按钮-----------------------------*/
.login_putin ul li input{
margin: 0;
width:70%;
padding: 1em 2em 1em 5.4em;
-webkit-border-radius:.3em;
-moz-border-radius: .3em;
border: 1px solid #999;
}
.login_btn{
width:300px;
margin:40px auto 0 auto;
}
.login_btn input{
width:100%;
margin:0;
padding:.5em 0;
-webkit-border-radius:.3em;
-moz-border-radius: .3em;
border:#1263be solid 1px;
background:#1b85fd;
color:#FFF;
font-size:17px;
font-weight:bolder;
letter-spacing:1em;
}
.login_btn input:hover{
background:#1263be;
}
如何通过代码美化自定义WordPress后台登陆界面,半透明效果登陆框
要通过代码自定义wordpress后台登录页面,这个看起来简单,但做起来还是有点小复杂。
据了解,高时银博客就是通过以下2步来实现的:
1、在当前主题文件夹下创建一个login.css 文件,
html{
background: transparent;
}
body.login{
background: #000 url("images/login_bg.jpg") no-repeat center top;
}
body.login div#login h1 a {
display: none;
}
body.login div#login h1{
display: block;
height: 70px;
}
.login form,.login form .input, .login input[type="text"],.wp-core-ui .button-
primary,.wp-core-ui .button-primary:hover{
-webkit-box-shadow:none;
box-shadow:none;
-webkit-border-radius: 0;
border-radius: 0;
}
.login form{
background: rgba(10,35,35,.4);
border: none;
}
.login form .input, .login input[type="text"]{
background: transparent;
border-color: #444;
color: #eee;
}
.login form .input:focus{
border-color: #666;
}
.login label{
color: #999;
line-height: 35px;
}
.wp-core-ui .button.button-primary{
background: rgba(187,64,48,.7);
border: none;
line-height: 12px;
padding: 10px 30px;
}
.wp-core-ui .button-primary:hover{
background: rgba(0,0,0,.4);
-webkit-transition: background 0.5s ease-out 0s;
-moz-transition: background 0.5s ease-out 0s;
-ms-transition: background 0.5s ease-out 0s;
-o-transition: background 0.5s ease-out 0s;
transition: background 0.5s ease-out 0s;
}
.wp-core-ui .button.button-primary,
.login label,
.login form .input{
font-family: 'Microsoft YaHei';
}
#nav,#backtoblog{
display: none;
}
2、然后在主题的functions.php文件中添加调用这个CSS文件的代码:
//登录界面
function diy_login_page() {
echo 'link rel="stylesheet" href="' . get_bloginfo( 'template_directory' ) .
'/login.css" type="text/css" media="all" /' . "\n";
}
add_action( 'login_enqueue_scripts', 'diy_login_page' );
希望我的回答帮到了我哦。
网页制作中登陆界面设计代码
%@language=vbscript codepage=936 %
%
option explicit
'强制浏览器重新访问服务器下载页面,而不是从缓存读取页面
Response.Buffer = True
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
'主要是使随机出现的图片数字随机
%
html
head
title管理员登录/title
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
link rel="stylesheet" href="Admin_Style.css"
script language=javascript
function SetFocus()
{
if (document.Login.UserName.value=="")
document.Login.UserName.focus();
else
document.Login.UserName.select();
}
function CheckForm()
{
if(document.Login.UserName.value=="")
{
alert("请输入用户名!");
document.Login.UserName.focus();
return false;
}
if(document.Login.Password.value == "")
{
alert("请输入密码!");
document.Login.Password.focus();
return false;
}
//if (document.Login.CheckCode.value==""){
// alert ("请输入您的验证码!");
// document.Login.CheckCode.focus();
// return(false);
}
}
/script
/head
body onLoad="SetFocus();"
p /p
form name="Login" action="Admin_ChkLogin.asp" method="post" target="_parent" onSubmit="return CheckForm();"
table width="300" border="0" align="center" cellpadding="5" cellspacing="0" class="border"
tr class="title"
td colspan="2" align="center" strong管理员登录/strong/td
/tr
tr
td height="120" colspan="2" class="tdbg"
table width="250" border="0" cellspacing="8" cellpadding="0" align="center"
tr
td align="right"用户名称:/td
tdinput name="UserName" type="text" id="UserName2" size="23" maxlength="20"/td
/tr
tr
td align="right"用户密码:/td
tdinput name="Password" type="password" size="23" maxlength="20"/td
/tr
tr
td align="right"验 证 码:/td
tdinput name="CheckCode" size="15" maxlength="6"
1109 /td
/tr
tr
td colspan="2" div align="center"
input type="submit" name="Submit" value=" 确认 "
input name="reset" type="reset" id="reset" value=" 清除 "
br
/div/td
/tr
/table
/td
/tr
/table
p align="center"后台管理页面需要屏幕分辨率为 font color="#FF0000"strong1024*768/strong/font
或以上才能达到最佳浏览效果!br
需要浏览器为strongfont color="#FF0000" /font/strongfont color="#FF0000"strongIE5.5/strong/font
或以上版本才能正常运行!!!/p
/form
/body
/html
网页设计用html和js制作一个登录界面,大神帮帮忙?
① 建议使用HTML标签时用语义化标签,比如主块部分就先用一个section标签括起来;
② 外加css样式设置美化页面,特别是登录界面的灵动感;
③ JavaScript绑定事件,实现更加人性化的功能;
登入网页美化代码教程的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于登录页面美化、登入网页美化代码教程的信息别忘了在本站进行查找喔。
版权说明:如非注明,本站文章均为 AH站长 原创,转载请注明出处和附带本文链接;
相关推荐
- 05-17做公司网页,做公司网页有什么简单的方法
- 05-17百度网页推广,百度网页推广费用
- 05-17安徽省考试网官网,安徽省考试网官网入口登录
- 05-16怎么建立一个属于自己的网站,如何建立自己的网站教程
- 05-16百度知道网页版地址,百度知道的网址
- 05-15seo完整教程视频教程,seo教学视频教程
- 05-15北京网站建设制作公司,北京网站制作网页
- 05-15如何制作一个网页网站,如何制作一个网页?
- 05-13网络推广教程,网络推广技巧大全
- 05-13百度搜索关键词怎么刷上去,百度关键词刷排名教程
取消回复欢迎 你 发表评论:
- 标签列表
- 最近发表
- 友情链接