日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程语言 > php >内容正文

php

PHP鼠标滑过变色命令,WordPress鼠标悬停变色的修改方法

發(fā)布時間:2023/12/10 php 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 PHP鼠标滑过变色命令,WordPress鼠标悬停变色的修改方法 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

原創(chuàng)內(nèi)容,轉(zhuǎn)載請注明出處:https://www.myzhenai.com.cn/post/3253.html

關(guān)鍵詞:wordpress 鼠標(biāo) 懸停 變色

我總是覺得我兩個WordPress博客的主題里使用的鼠標(biāo)懸停變色的顏色不太喜歡,就是當(dāng)鼠標(biāo)劃過或停留在某一個鏈接上的時候,該鏈接會改變顏色,只不過那種顏色不是我喜歡的,我就想改變更換其他顏色。

方法也很簡單,修改當(dāng)前主題下的style.css文件就可以了。使用關(guān)鍵詞是 hover

一、獲取顏色代碼

可以使用photoshop或gimp等圖像處理軟件里的顏色吸管或顏色面板來獲得某個顏色的html編碼,例如我使用的是 #2cc1a4

二、修改style.css文件

查找hover關(guān)鍵詞,替換該項的color值即可。

例如我的兩個博客的修改內(nèi)容,在這里做個記錄,免得以后升級的時候又要重新折騰。

mybabya.com 替換 #ff4b33

small {

font-size: smaller;

}

input[type="text"],

input[type="password"],

input[type="email"],

input[type="url"],

input[type="number"],

textarea {

background: #f9f9f9;

border: 1px solid #ccc;

box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);

-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);

-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);

padding: 2px;

}

a:link {

color: #0066cc;

}

a:visited {

color: #2cc1a4;

}

a:active,

a:hover {

color: #2cc1a4;

}

.page-title a:active,

.page-title a:hover {

color: #2cc1a4;

}

.entry-title a:active,

.entry-title a:hover {

color: #2cc1a4;

}

.page-link a:active,

.page-link a:hover {

color: #2cc1a4;

}

.entry-meta a:hover,

.entry-utility a:hover {

color: #2cc1a4;

}

.navigation a:active,

.navigation a:hover {

color: #2cc1a4;

}

.comment-meta a:active,

.comment-meta a:hover {

color: #2cc1a4;

}

.reply a:hover,

a.comment-edit-link:hover {

color: #2cc1a4;

}

#respond .required {

color: #2cc1a4;

font-weight: bold;

}

a:link {

color: #0066cc;

}

a:visited {

color: #2cc1a4;

}

a:active,

a:hover {

color: #2cc1a4;

}

a:link {

color: #0066cc;

}

a:visited {

color: #2cc1a4;

}

a:active,

a:hover {

color: #2cc1a4;

myzhenai.com.cn

.search-form input {

width: 100%;

border: 1px solid #423c37;

border-radius: 15px;

padding: 5px 15px;

font-family: "Titillium Web", sans-serif;

font-size: 0.75em;

text-transform: uppercase;

color: #2cc1a4;

background: #ffffff;

box-shadow: inset 0px 1px 3px rgba(0,0,0,0.4);

}

.search-form .search-icon i {

font-size: 14px;

color: #2cc1a4;

-webkit-transition: all 0.250s ease-in-out;

-moz-transition: all 0.250s ease-in-out;

-o-transition: all 0.250s ease-in-out;

transition: all 0.250s ease-in-out;

}

#slider .slide .slide-description .inner-sd {

border: 1px solid #2cc1a4;

border-radius: 5px;

height: 100%;

padding: 20px 30px;

}

/* Slider Meta */

#slider .sd-meta {

border: 1px solid #2cc1a4;

border-radius: 3px;

padding: 10px;

margin-top: 15px;

}

#slider .sd-meta .read-more:hover {

color: #2cc1a4;

}

.featured-carousel .slide .article-content header a:hover {

color: #2cc1a4;

}

.article-container article header .title:hover {

color: #2cc1a4;

}

.article-container article header .meta .categ a:hover {

color: #2cc1a4;

}

#latest-reviews-block .lrb-navigation .article-link {

border-bottom: 1px dotted #2cc1a4;

}

#latest-reviews-block .article-link.active, #latest-reviews-block .article-link:hover {

background: #2cc1a4;

cursor: pointer;

}

#latest-reviews-block .article-link.active .article-title a, #latest-reviews-block .article-link:hover .article-title a {

color: #2cc1a4;

}

#latest-reviews-block .article-link .article-title {

margin: 0;

padding: 0;

font-family: "Arvo", sans-serif;

color: #2cc1a4;

font-size: 1.250em;

font-weight: normal;

line-height: 1;

}

#latest-reviews-block .article-link .article-title a {

color: #2cc1a4;

-webkit-transition: all 0.250s ease-in-out;

-moz-transition: all 0.250s ease-in-out;

-o-transition: all 0.250s ease-in-out;

transition: all 0.250s ease-in-out;

}

#latest-reviews-block .article-link .article-meta .categ a {

font-family: "Titillium Web", sans-serif;

text-transform: uppercase;

display: block;

font-size: 0.750em;

color: #2cc1a4;

font-weight: 600;

margin-top: 5px;

margin-bottom: -6px;

}

#latest-reviews-block .article-link .article-meta .date {

color: #2cc1a4;

font-size: 0.750em;

font-family: "Titillium Web", sans-serif;

text-transform: uppercase;

line-height: 1;

}

#latest-reviews-block .lrb-navigation .nav-top:hover, #latest-reviews-block .lrb-navigation .nav-bottom:hover {

cursor: pointer;

color: #2cc1a4;

}

#latest-reviews-block .article-display .article-title a:hover {

color: #2cc1a4;

}

#latest-reviews-block .article-display .a-details .category a:hover {

color: #2cc1a4;

}

#highlight-day .title a:hover {

color: #2cc1a4;

}

#highlight-day .meta .categ a:hover {

color: #2cc1a4;

}

nav.navigation .page-numbers {

display: inline-block;

text-align: center;

border-radius: 3px;

font-family: "Arvo", sans-serif;

margin-right: 5px;

background: #2cc1a4;

color: #fff;

line-height: 2;

-webkit-transition: all 0.250s ease-in-out;

-moz-transition: all 0.250s ease-in-out;

-o-transition: all 0.250s ease-in-out;

transition: all 0.250s ease-in-out;

padding: 0em 0.7em;

}

nav.navigation .page-numbers:not(.current):hover{

background: #2cc1a4;

}

.widget ul li a:hover {

color: #2cc1a4;

}

.widget .tagcloud a:hover {

color: #2cc1a4;

}

.topbooks .title a:hover {

color: #2cc1a4;

}

.topbooks .meta .categ a:hover {

color: #2cc1a4;

;

}

.latest-comments .widget h4 a:hover {

color: #2cc1a4;

;

}

#main-footer .widget .comment a:hover, #main-footer .widget .article a {

color: #2cc1a4;

}

#main-footer .widget ul .recentcomments a:hover {

color: #2cc1a4;

}

.widget.latest-articles .article a:hover {

color: #2cc1a4 !important;

}

.article-container.post > header .article-details .categ a:hover {

color: #2cc1a4;

}

.article-container.post #wrap-up .review-header .categories a:hover {

color: #2cc1a4;

}

#author-box .author-details h3 a:hover {

color: #2cc1a4;

}

#comments-section #comments-container .comment .author-name a:hover {

color: #2cc1a4;

}

#inner-header .logo a{

color: #18bfef;

}

#inner-header .logo a:hover{

color: #2cc1a4;

}

#slider .slide .slide-description .sd-title a {

font-family: "Arvo", sans-serif;

color: #18bfef;

font-size: 1.3em;

font-weight: normal;

-webkit-transition: all 0.250s ease-in-out;

-moz-transition: all 0.250s ease-in-out;

-o-transition: all 0.250s ease-in-out;

transition: all 0.250s ease-in-out;

}

#slider .sd-meta .read-more {

float: right;

padding: 0;

font-family: "Titillium Web", sans-serif;

text-transform: uppercase;

font-weight: bold;

font-size: 1em;

color: #18bfef;

line-height: 1.5;

-webkit-transition: all 0.250s ease-in-out;

-moz-transition: all 0.250s ease-in-out;

-o-transition: all 0.250s ease-in-out;

transition: all 0.250s ease-in-out;

}

#slider .sd-meta .read-more:hover {

color: #2cc1a4;

}

#slider .sd-meta span a, #slider .sd-meta span {

color: #18bfef;

font-family: "Titillium Web", sans-serif;

-webkit-transition: all 0.250s ease-in-out;

-moz-transition: all 0.250s ease-in-out;

-o-transition: all 0.250s ease-in-out;

transition: all 0.250s ease-in-out;

}

#slider .sd-meta span a:hover {

color: #2cc1a4;

}

.article-container article header .title {

color: #18bfef;

font-family: "Arvo", sans-serif;

font-weight: normal;

font-size: 1.438em;

-webkit-transition: all 0.250s ease-in-out;

-moz-transition: all 0.250s ease-in-out;

-o-transition: all 0.250s ease-in-out;

transition: all 0.250s ease-in-out;

}

.article-container article .feat-img {

width: 150px;

height: 150px;

overflow: hidden;

border-radius: 50%;

position: relative;

float: left;

margin-right: 20px;

background-color: #ddd;

}

/* Featured Carousel - Content */

.featured-carousel .slide .feat-img {

float: left;

width: 150px;

height: 150px;

border-radius: 50%;

overflow: hidden;

margin-right: 2.5%;

position: relative;

}

.featured-carousel .slide .feat-img img {

width: 100%;

height: 100%;

}

sicnature ---------------------------------------------------------------------

Your current IP address is: 112.194.65.118

Your IP address location: 四川省南充市聯(lián)通

Your IP address country and region: 中國

Your current browser is:

Your current system is:

Original content, please indicate the source:

同福客棧論壇 | 蟒蛇科普 | 海南鄉(xiāng)情論壇 | JiaYu Blog

sicnature ---------------------------------------------------------------------

Welcome to reprint. Please indicate the source https://www.myzhenai.com/post/3253.html

總結(jié)

以上是生活随笔為你收集整理的PHP鼠标滑过变色命令,WordPress鼠标悬停变色的修改方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。