一款纯css3实现的环形导航菜单_html/css_WEB-ITnose
之前为大家介绍了好几款导航菜单,今天要给大家带来一款纯css3实现的环形导航菜单。该导航比较新鲜,列表图标位于中间,单击列表图标的时候,各项分布于列表图表的四周。形成一个环形。效果图如下:
在线预览 源码下载
实现的代码。
html代码:
<div class="container"> <h1 id="Cool-Open-Close-menu-in-full-CSS"> Cool Open/Close menu in full CSS</h1> <input type="checkbox" id="menu_opener_id" class="menu_opener"> <label for="menu_opener_id" class="menu_opener_label"> </label> <div class="barre_hamburger"> </div> <a href="#" class="link_one link_general"></a><a href="#" class="link_two link_general"> </a><a href="#" class="link_three link_general"></a><a href="#" class="link_four link_general"> </a></input> </div>
css代码:
body { background: #34495e; } .container { width: 550px; display: block; margin: auto; position: relative; } h1 { text-align: center; font-family: 'Roboto' , sans-serif; font-weight: 400; color: #f1c40f; } .menu_opener { display: none; } .menu_opener:checked ~ .link_one { top: 65px; } .menu_opener:checked ~ .link_two { left: 385px; } .menu_opener:checked ~ .link_three { top: 385px; } .menu_opener:checked ~ .link_four { left: 65px; } .menu_opener:checked ~ .barre_hamburger { opacity: 0; } .menu_opener:checked ~ .menu_opener_label:after { transform: rotate(45deg); top: 70px; } .menu_opener:checked ~ .menu_opener_label:before { transform: rotate(-45deg); top: 70px; } .menu_opener_label { background: #f1c40f; width: 150px; height: 150px; display: block; cursor: pointer; border-radius: 50%; position: absolute; top: 200px; left: 200px; z-index: 10; } .menu_opener_label:after { position: absolute; top: 50px; left: 50px; background: #000; content: ""; width: 50px; height: 10px; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } .menu_opener_label:before { position: absolute; top: 90px; left: 50px; background: #000; content: ""; width: 50px; height: 10px; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } .barre_hamburger { width: 50px; height: 10px; position: absolute; top: 270px; left: 250px; background: #000; z-index: 20; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } .link_general { width: 100px; height: 100px; display: block; border-radius: 50%; position: absolute; top: 225px; left: 225px; background: #ecf0f1; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } .link_one { background: url("home.png") #f1c40f no-repeat center center; } .link_two { background: url("mail.png") #f1c40f no-repeat center center; } .link_three { background: url("set.png") #f1c40f no-repeat center center; } .link_four { background: url("start.png") #f1c40f no-repeat center center; }

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

在Windows11中,「開始」功能表經過重新設計,並具有一組簡化的應用,這些應用程式排列在頁面網格中,這與它的前身不同,後者在「開始」功能表上有資料夾、應用程式和組。您可以自訂「開始」功能表佈局,並將其匯入並匯出至其他Windows設備,以根據您的喜好進行個人化設定。在本指南中,我們將討論在Windows11上匯入開始佈局以自訂預設佈局的逐步說明。什麼是Windows11中的Import-StartLayout?導入開始佈局是Windows10和更早版本中使用的cmdlet,用於將「開始」功能表的自定

純CSS3怎麼實現波浪效果?這篇文章就來跟大家介紹一下使用 SVG 和 CSS 動畫來製作波浪效果的方法,希望對大家有幫助!

我們用戶從來不想要的最煩人的更改之一是在右鍵單擊上下文功能表中包含“顯示更多選項”。但是,您可以刪除它並取回Windows11中的經典上下文功能表。不再需要多次點擊並在上下文選單中尋找這些ZIP捷徑。請依照本指南返回Windows11上成熟的右鍵點選上下文功能表。修復1–手動調整CLSID這是我們清單中唯一的手動方法。您將在登錄編輯器中調整特定鍵或值以解決此問題。注意–像這樣的註冊表編輯非常安全,並且可以正常工作。因此,在系統上嘗試此操作之前,您應該建立註冊表備份。步驟1–嘗試

在css中,可以利用border-image屬性來實作花邊邊框。 border-image屬性可以使用圖片來建立邊框,即給邊框加上背景圖片,只需要將背景圖片指定為花邊樣式即可;語法「border-image: url(圖片路徑) 向內偏移值圖像邊界寬度outset 是否重複;」。

預設情況下,Windows 11 右鍵單擊上下文功能表有一個名為Open in Windows Terminal的選項。這是一個非常有用的功能,可讓使用者在特定位置開啟 Windows 終端。例如,如果您右鍵單擊資料夾並選擇「在 Windows 終端機中開啟」選項,則 Windows 終端將啟動並將該特定位置設為其目前工作目錄。儘管這是一個了不起的功能,但並不是每個人都發現此功能的用途。一些用戶可能只是不希望在他們的右鍵單擊上下文功能表中使用此選項,並且希望將其刪除以整理他們的右鍵單擊上下文菜

百度地圖App安卓版/iOS版都已發布18.8.0版本,首次引入紅綠燈雷達功能,業界領先據官方介紹,開啟紅綠燈雷達後,支援開車自動探測紅綠燈,不用輸入目的地,北斗高精可以即時定位,全國100萬+紅綠燈自動觸發綠波提醒。除此之外,新功能還提供全程靜音導航,使圖區更簡潔,關鍵訊息一目了然,且無語音播報,使駕駛員更加專注駕駛百度地圖於2020年10月上線紅綠燈倒數功能,支援即時讀秒預判,導航會在接近紅綠燈路口時,自動展示倒數剩餘秒數,讓使用者隨時掌握前方路況。截至2022年12月31日,紅綠燈倒數
