国产成人精品无码青草_亚洲国产美女精品久久久久∴_欧美人与鲁交大毛片免费_国产果冻豆传媒麻婆精东

15158846557 在線咨詢 在線咨詢
15158846557 在線咨詢
所在位置: 首頁 > 營銷資訊 > 網(wǎng)站運(yùn)營 > 程序員520?七夕情人節(jié)表白代碼Html+Js+Css花瓣相冊網(wǎng)頁模板?程序員表白必備

程序員520?七夕情人節(jié)表白代碼Html+Js+Css花瓣相冊網(wǎng)頁模板?程序員表白必備

時間:2023-07-20 06:15:01 | 來源:網(wǎng)站運(yùn)營

時間:2023-07-20 06:15:01 來源:網(wǎng)站運(yùn)營

程序員520?七夕情人節(jié)表白代碼Html+Js+Css花瓣相冊網(wǎng)頁模板?程序員表白必備:

? 520程序員求婚Html+Js+Css花瓣相冊? (愛心3D動畫,自定義文字)/ 程序員表白必備

一年一度的/520情人節(jié)/七夕情人節(jié)/生日禮物/告白師妹/程序員表白, 非常經(jīng)典的程序員式的表達(dá)愛情的方式,是你哄女朋友開心的終極武器。在人們的印象中,程序員容易使人聯(lián)想到宅男、沉悶、古板等等這些不好的詞語。網(wǎng)上也流傳著一個搞笑的說法:“嫁人就嫁程序員,錢多死得早?!倍嗝葱了岚 5恰銈兌煎e了,程序員也可以很浪漫很感性。并不是所有的IT男都那么悶呆的。下面看看人家程序員是如何用電腦說出愛你。就算悶呆,也要悶呆得很性感。

? 效果演示

?在線演示地址

1. PC(電腦端)演示







2. H5(手機(jī)端)演示







? 代碼文件目錄







一、花瓣相冊(代碼實現(xiàn))

html (部分)

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>唯美 </title> <meta name="keywords" content=" "><meta name="description" content=" "><meta name="author" content="www."> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="css/reset.css" type="text/css" media="all"> <link rel="shortcut icon" href="index/images/favicon.ico"> <link rel="stylesheet" href="css/jquery.fancybox-1.3.4.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/style.css" type="text/css" media="all"> <link href="css/prettyPhoto.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery.min.js" ></script> <script type="text/javascript" src="js/content_switch.js"></script> <script type="text/javascript" src="js/jquery.easing.1.3.js"></script> <script type="text/javascript" src="js/jquery.mousewheel.js"></script> <script type="text/javascript" src="js/jquery-ui.js"></script> <script type="text/javascript" src="js/cScroll.js"></script> <script src="js/jquery.cycle.all.latest.js" type="text/javascript"></script> <script src="js/jquery.color.js" type="text/javascript"></script> <script type="text/javascript" src="js/script.js"></script> <script type="text/javascript" src="js/functions.js"></script> <script src="js/prettyPhoto.js"></script> a.wb_tencent:hover { background-color:#0e7fcc; background-image:-moz-linear-gradient(top,#0771c1,#1288d4); background-image:-ms-linear-gradient(top,#0771c1,#1288d4); background-image:-webkit-gradient(linear,0 0,0 100%,from(#0771c1),to(#1288d4)); background-image:-webkit-linear-gradient(top,#0771c1,#1288d4); background-image:-o-linear-gradient(top,#0771c1,#1288d4); background-image:linear-gradient(top,#0771c1,#1288d4); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0771c1',endColorstr='#1288d4',GradientType=0); } a.wb_tencent span { display:inline-block; vertical-align:-5px; margin-right:7px; height:20px; width:24px; background:url(./images/weibo.png) no-repeat 0 -20px; } #abox { position: fixed; _position: absolute; right: 15px; z-index: 99999999; } </style></head><body onLoad="checkhtml5()"><div id="abox"></div><div class="page_spinner"> <div></div></div><div class="over"> <div class="centre"> <div class="main"> <!--header --> <header> <h1><span id="logo"><img src="images/logo1.png" alt="" usemap="#logo"></span></h1> <nav class="menu"> <ul id="menu"> <li id="nav1"><img src="images/nav1.png" alt=""><span>愛的宣誓</span></li> <li id="nav2"><img src="images/nav2.png" alt=""><span>戀愛歷程</span> </li> <li id="nav3"><img src="images/nav3.png" alt=""><span>絮叨絮叨</span></li> <li id="nav4"><img src="images/nav4.png" alt=""><span>祝福我們</span></li> <li id="nav5"><img src="images/nav5.png" alt=""><span>愛的映像</span></li> <li id="nav6"><img src="images/nav6.png" alt=""><span>時光沙漏</span></li> </ul> </nav></div></body></html>

js (部分)

<script> var RENDERER = { INIT_CHERRY_BLOSSOM_COUNT: 30, MAX_ADDING_INTERVAL: 10, init: function() { this.setParameters(); this.reconstructMethods(); this.createCherries(); this.render(); setParameters: function() { this.$container = $('#jsi-cherry-container'); this.width = this.$container.width(); this.height = this.$container.height(); this.context = $('<canvas />') .attr({ width: this.width, height: this.height }) .appendTo(this.$container) .get(0) .getContext('2d'); this.cherries = []; this.maxAddingInterval = Math.round( (this.MAX_ADDING_INTERVAL * 1000) / this.width ); this.addingInterval = this.maxAddingInterval; }, reconstructMethods: function() { this.render = this.render.bind(this); }, var CHERRY_BLOSSOM = function(renderer, isRandom) { this.renderer = renderer; this.init(isRandom); }; CHERRY_BLOSSOM.prototype = { FOCUS_POSITION: 300, FAR_LIMIT: 600, MAX_RIPPLE_COUNT: 100, RIPPLE_RADIUS: 100, SURFACE_RATE: 0.5, SINK_OFFSET: 20, init: function(isRandom) { this.x = this.getRandomValue( -this.renderer.width, this.renderer.width ); var axis = this.getAxis(), theta = this.theta + (Math.ceil( -(this.y + this.renderer.height * this.SURFACE_RATE) / this.vy ) * Math.PI) / 500; theta %= Math.PI * 2; this.offsetY = 40 * (theta <= Math.PI / 2 || theta >= (Math.PI * 3) / 2 ? -1 : 1); this.thresholdY = this.renderer.height / 2 + this.renderer.height * this.SURFACE_RATE * axis.rate; this.entityColor.addColorStop( 0, 'hsl(330, 70%, ' + 50 * (0.3 + axis.rate) + '%)' ); this.entityColor.addColorStop( 0.05, 'hsl(330, 40%,' + 55 * (0.3 + axis.rate) + '%)' ); this.entityColor.addColorStop( 1, 'hsl(330, 20%, ' + 70 * (0.3 + axis.rate) + '%)' ); $(function() { RENDERER.init(); }); </script>

css (相冊部分)

.box { width: 200px; height: 200px; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; background-size: 100% 100%; position: absolute; margin-left: 42%; margin-top: 22%; -webkit-transform-style: preserve-3d; -webkit-transform: rotateX(13deg); -webkit-animation: move 5s linear infinite;}.minbox li:nth-child(1) { background: url(../img/01.png) no-repeat 0 0; -webkit-transform: translateZ(50px);}.minbox li:nth-child(2) { background: url(../img/02.png) no-repeat 0 0; -webkit-transform: rotateX(180deg) translateZ(50px);}.minbox li:nth-child(3) { background: url(../img/03.png) no-repeat 0 0; -webkit-transform: rotateX(-90deg) translateZ(50px);}.minbox li:nth-child(4) { background: url(../img/04.png) no-repeat 0 0; -webkit-transform: rotateX(90deg) translateZ(50px);}.minbox li:nth-child(5) { background: url(../img/05.png) no-repeat 0 0; -webkit-transform: rotateY(-90deg) translateZ(50px);}.minbox li:nth-child(6) { background: url(../img/06.png) no-repeat 0 0; -webkit-transform: rotateY(90deg) translateZ(50px);}.maxbox li:nth-child(1) { background: url(../img/1.png) no-repeat 0 0; -webkit-transform: translateZ(50px);}.maxbox li:nth-child(2) { background: url(../img/2.png) no-repeat 0 0; -webkit-transform: translateZ(50px);}.maxbox li:nth-child(3) { background: url(../img/3.png) no-repeat 0 0; -webkit-transform: rotateX(-90deg) translateZ(50px);}.maxbox li:nth-child(4) { background: url(../img/4.png) no-repeat 0 0; -webkit-transform: rotateX(90deg) translateZ(50px);}.maxbox li:nth-child(5) { background: url(../img/5.png) no-repeat 0 0; -webkit-transform: rotateY(-90deg) translateZ(50px);}.maxbox li:nth-child(6) { background: url(../img/6.png) no-repeat 0 0; -webkit-transform: rotateY(90deg) translateZ(50px);}.maxbox { width: 800px; height: 400px; position: absolute; left: 0; top: -20px; -webkit-transform-style: preserve-3d;}.maxbox li { width: 200px; height: 200px; background: #fff; border: 1px solid #ccc; position: absolute; left: 0; top: 0; opacity: 0.2; -webkit-transition: all 1s ease;}.maxbox li:nth-child(1) { -webkit-transform: translateZ(100px);}.maxbox li:nth-child(2) { -webkit-transform: rotateX(180deg) translateZ(100px);}.maxbox li:nth-child(3) { -webkit-transform: rotateX(-90deg) translateZ(100px);}.maxbox li:nth-child(4) { -webkit-transform: rotateX(90deg) translateZ(100px);}.maxbox li:nth-child(5) { -webkit-transform: rotateY(-90deg) translateZ(100px);}.maxbox li:nth-child(6) { -webkit-transform: rotateY(90deg) translateZ(100px);}

二、3D相冊裁剪(教程)

教程如下:需要12張圖片(可自定義12張)

1-6 圖片是大圖 400px*400px ,01-06 圖片是小圖 100px*100px

將準(zhǔn)備好的圖片,自行替換 img 文件中的圖片即可!







1.相片裁剪(教程)

首先:下載美圖秀秀/百度下載/或者軟件安裝 或者使用在線鏈接裁剪---> 在線裁剪圖片鏈接




2.美圖秀秀(電腦版)裁剪圖片

2.1選擇圖片裁剪




三、歌曲mp3更換教程(教程)

如需更換mp3背景音樂,可自行下載更換即可~ mp3免費(fèi)下載地址 1.搜索需要的歌曲







2.下載




3獲取歌曲id




4關(guān)注公眾號以后/復(fù)制鏈接到瀏覽器打開







5下載mp3 ~下載完畢以后自行替換mp3文件即可(如不想修改代碼,必須保持名稱一致)





四、做好的網(wǎng)頁效果,如何通過發(fā)鏈接給別人看?

1.1 解決部署上線~> 部署上線工具(可永久免費(fèi)使用)

1.不需要買服務(wù)器就能部署線上,全世界都能訪問你的連接啦, 這里給大家推薦一個程序員必備神器~ 插件集成了超級多好用的插件,免費(fèi)下載安裝,簡單易懂, 簡直神器 ~ 需要可在文章 ↓ 下方公Z號獲取

2.就是把你的代碼效果做好了以后, 部署到線上, 把鏈接發(fā)給別人, 就可以讓對方通過你的連接點擊進(jìn)去, 就能看到你的網(wǎng)頁效果啦, 電腦端和手機(jī)端都可以噢! (不然別人看你的網(wǎng)頁都要發(fā)文件過去,體驗感不太好哦~)

1.1部署流程







1.2 哇~ 部署成功

哇~ 部署成功! 將你寫好的頁面部署上線后, 全世界的人都可以通過鏈接訪問到你的網(wǎng)頁了(永久免費(fèi)使用哦)~





五、前端 零基礎(chǔ) 入門到高級 (視頻+源碼+開發(fā)軟件+學(xué)習(xí)資料+面試題) 一整套 (教程)

適合入門到高級的童鞋們?nèi)胧謣





六、? 源碼獲取

? ~ 關(guān)注我,點贊博文~ 每天帶你漲知識!

? 1.看到這里了就 [點贊+好評+收藏] 三連~ 支持下吧,你的「點贊,好評,收藏」是我創(chuàng)作的動力。

? 2.關(guān)注我~ 每天帶你學(xué)習(xí) :各種前端插件、3D炫酷效果、圖片展示、文字效果、以及整站模板 、大學(xué)生畢業(yè)模板 、期末大作業(yè)模板 、等! 「在這里有好多 前端 開發(fā)者,一起探討 前端 Node 知識,互相學(xué)習(xí)」!

? 3.以上內(nèi)容技術(shù)相關(guān)問題可以相互學(xué)習(xí),可關(guān)注↓公Z號 獲取更多源碼 !








七、?更多表白源碼

?100款表白源碼演示地址

關(guān)鍵詞:程序,表白,相冊,花瓣,模板,七夕

74
73
25
news

版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。

為了最佳展示效果,本站不支持IE9及以下版本的瀏覽器,建議您使用谷歌Chrome瀏覽器。 點擊下載Chrome瀏覽器
關(guān)閉