博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
前端作品之静态页面设计(一):支付宝财富页面的静态效果设计(iphonex兼容)
阅读量:3917 次
发布时间:2019-05-23

本文共 2450 字,大约阅读时间需要 8 分钟。

             本人在从事程序员之前是一个画家,对待美观上的当然相当严格,但是好多logo很难找到一致的。但是从现在开始,我做的一些好的完善的作品也放在这里,供自身参考的同时大家可以适当的改变和升级。


作品:

                                     

 

ps:我要发财啦!!!


原理:

口号:放图片,放图片,放图片!!append,append,append!!

 

第一步:布好局

我用的是div,将iphonex的屏幕分成四个部分,top,center,bottom,last。

第二步:形象设计

拿捏好iPhoneX的屏幕尺寸,不断对照iphoneX的支付宝财富页面,进行校对式设计,对色彩有一定的把握

第三步:程序化理想设计

这个是最难的部分,需要对前端属性,js等有一定的了解,我做的不是最简单的,只是我自己的一个方法。

第四步:整体化设计

这个是最后一步,也可以是第一步,其实也应该和布局一起进行,在拿捏尺寸的同时,要进行大局观的设计,最后修修改改,最后做出一副完美的静态页面。


附上代码:

HTML:

支付宝

css

.main{width:100%;height:1760px;}.top{width:100%;height:450px;background-color:#1a82d2;}.phone{width:100%;height:120px;position:absolute;margin-left:20px;margin-top:20px;}.word{	position:absolute;	margin-left:12px;	margin-top:0px;	font-size:40px;	color:white;}.word1{	position:absolute;	margin-left:408px;	margin-top:-53px;	font-size:41px;	color:white;}.word2{	position:absolute;	margin-left:781px;	margin-top:-53px;	font-size:41px;	color:white;}.label{	position:absolute;	margin-left:441px;	margin-top:112px;	font-size:50px;	color:white;}.label1{	position:absolute;	margin-left:73px;	margin-top:211px;	font-size:40px;	color:white;	opacity:0.8;}.label2{	position:absolute;	margin-left:547px;	margin-top:211px;	font-size:40px;	color:white;	opacity:0.8;}.label3{	position:absolute;	margin-left:358px;	margin-top:218px;	font-size:35px;	color:white;	opacity:0.8;}.datasize{	position:absolute;	margin-left:60px;	margin-top:307px;	font-size:55px;	color:white;}.datasize1{	position:absolute;	margin-left:543px;	margin-top:307px;	font-size:55px;	color:white;}.center{	width:100%;	height:660px;}.bottom{	width:100%;	height:820px;}.center_img{	width:183px;	height:270px;	margin-left:10px;}.a{float:left;}.word8{font-size:42px;position:absolute;margin-left:12px;margin-top:151px;}.word9{font-size:42px;position:absolute;margin-left:48px;margin-top:189px;}.word10{font-size:42px;position:absolute;margin-left:48px;margin-top:130px;color:#bfbfbf;}.bottom_dowm{	width:1000px;	height:270px;	background-color:red;}.finally{	margin-top:30px;	width:100%;	height:190px;}.last_first{	height:190px;	width:20%;}

 

这里图片路径就不附加了,大家可以根据自己的喜好修改自己的图片路径。

转载地址:http://mjtrn.baihongyu.com/

你可能感兴趣的文章
[原]调试PInvoke导致的内存破坏
查看>>
【NServiceBus】什么是Saga,Saga能做什么
查看>>
ASP.NET Core 集成测试中模拟登录用户的一种姿势
查看>>
程序员修神之路--容器技术为什么会这么流行(记得去抽奖)
查看>>
[ASP.NET Core 3框架揭秘] 异步线程无法使用IServiceProvider?
查看>>
.NET Core 3.0之深入源码理解HealthCheck(一)
查看>>
收藏!推荐12个超实用的Visual Studio插件
查看>>
2020年你应该学习 .Net Core
查看>>
[译文] C# 8 已成旧闻, 向前, 抵达 C# 9!
查看>>
.NETCore3.1中的Json互操作最全解读-收藏级
查看>>
【实战 Ids4】║ 给授权服务器加个锁——HTTPS配置
查看>>
2020年了,再不会Https就老了
查看>>
Kubernetes,多云和低代码数据科学:2020年最热门的数据管理趋势
查看>>
.NET Core 3.1之深入源码理解HealthCheck(二)
查看>>
C# WPF 表单更改提示
查看>>
【原创】StackOverflow 20万关注的问题:如何实现异步Task超时的处理?
查看>>
.NET Core 3.1通用主机原理及使用
查看>>
UnitTest in .NET(Part 1)
查看>>
CAP 3.0 版本正式发布
查看>>
Xamarin.Forms弹出对话框插件
查看>>