怎樣自定義CSDN樣式

2021-05-24 23:17:20 字數 884 閱讀 4319

來自:

如果你已經有了乙個比較個性化的計數器的話,下面我教你如何為csdnblog製作自定義**的功能,如果你沒有並且需要為你的csdnblog新增乙個個性化計數器的話,可以參閱我寫的另一篇文章。

關於給csdnblog新增計數器

1、使用系統定義**

系統為我們已經提供了幾個定義好的**介面,我們可以通過''選項''-''配置''-''**''來選擇自己喜歡的。

2、自定義**

下面以更改cogitation**為例

1、選項-配置-**-選擇cogitation

2、csdnblog會預設使用為樣式表檔案(我怎麼知道的,呵呵,源**裡面有的)

3、通過記事本或其他編輯工具開啟可以看到如下內容(擷取部分)

.headertitles

a:visited,

.headertitles

a:active,

.headertitles

a:link,

.headertitles

a:hover

.headerbar

.headerbar

a:visited,

.headerbar

a:active,

.headerbar

a:link

.headerbartab

.blogstatsbar

4、我們現在重新定義#top,#top定義了版面頂部樣式

原始樣式內容如下:

#top 

通過察看自己csdnblog源**發覺#top應用的位置如下:

id="top">

class="headertitles">

CSDN部落格自定義字型樣式

stcaiyun 我是華文彩雲stcaiyun 的效果 楷體 這是 color red size 6 face 楷體 的效果 這是 color blue size 6 的效果 我是華文彩雲stcaiyun 的效果 這是 color red size 6 face 楷體 的效果 這是 color bl...

滑鼠自定義樣式

滑鼠自定義樣式,在網上查了查,現在把找到的覺得不錯的方法展示如下 1 bitmap cursor bitmap bitmap.fromfile 20050129171521936.gif 括號內填寫本地路徑 bitmap mynewcursor new bitmap cursor.width 2,c...

android CheckBox 自定義樣式

所需 main.xml android orientation horizontal android layout width wrap content android layout centerhorizontal true android layout height fill parent ch...