IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 日本マクドナルド、「CHUMS」コラボの福袋 抽選方式で数量限定販売 |
https://www.itmedia.co.jp/business/articles/2212/12/news171.html
|
chums |
2022-12-12 19:42:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 加熱式たばこデバイス「glo hyper X2」から新カラー2色 期間限定で980円に |
https://www.itmedia.co.jp/business/articles/2212/12/news172.html
|
glohyperx |
2022-12-12 19:38:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] NURO光、埼玉県など一部エリアのネットワーク増強を完了 今後対応する地域もさらに更新 |
https://www.itmedia.co.jp/news/articles/2212/12/news174.html
|
itmedianewsnuro |
2022-12-12 19:26:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 国内初、民間企業による宇宙ステーション構想 スタートアップが発表 「2030年のISS退役後を見据える」 |
https://www.itmedia.co.jp/news/articles/2212/12/news170.html
|
itmedia |
2022-12-12 19:04:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] よく使われているアプリ 3位は「Instagram」、2位「PayPay」、1位は? |
https://www.itmedia.co.jp/business/articles/2212/12/news137.html
|
instagram |
2022-12-12 19:04:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Flaskを使ってDocker、PythonでHello Flask |
https://qiita.com/Pitts7/items/542196eaec6bc0b77c38
|
docker |
2022-12-12 19:44:54 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
天気予報を教えてくれる対話システム |
https://qiita.com/tom140425/items/e4f7ea14a0bd83ff6701
|
slpkbitadventcalendar |
2022-12-12 19:39:41 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Ruby2.4系のリリース情報と主要な対応履歴へのリンク一覧 |
https://qiita.com/juntetsu_tei/items/5c6c4e0b34ddaabfd3ad
|
確認 |
2022-12-12 19:46:52 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
OSSにコントリビュートするアイデアとRuby gemsでの実践例 |
https://qiita.com/kyoshidajp/items/2237f7e78c26e543becb
|
rubygems |
2022-12-12 19:04:18 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Flaskを使ってDocker、PythonでHello Flask |
https://qiita.com/Pitts7/items/542196eaec6bc0b77c38
|
docker |
2022-12-12 19:44:54 |
Linux |
CentOSタグが付けられた新着投稿 - Qiita |
【CentOS】MACアドレス/デバイス名変更【RHEL】 |
https://qiita.com/dan-go/items/d6924329f4358906fb95
|
evrenamednetworkinterfac |
2022-12-12 19:00:39 |
海外TECH |
DEV Community |
Responsive Navbar with CSS and JS |
https://dev.to/shubhamtiwari909/responsive-navbar-with-css-and-js-5e8f
|
Responsive Navbar with CSS and JSHello Guys Today i will show you how to create a responsive navbar with custom hamburger icon and slide in effect with HTML CSS and Javascript Let s get started HTML lt header gt lt button role button class hamburger gt lt span class bar bar gt lt span gt lt span class bar bar gt lt span gt lt span class bar bar gt lt span gt lt button gt lt nav gt lt ul class navigation gt lt li class nav item gt lt a href gt HOME lt a gt lt li gt lt li class nav item gt lt a href gt CATEGORY lt a gt lt li gt lt li class nav item gt lt a href gt PRICING lt a gt lt li gt lt li class nav item gt lt a href gt CONTACT lt a gt lt li gt lt li class nav item gt lt a href gt ABOUT lt a gt lt li gt lt ul gt lt nav gt lt header gt lt main gt lt section class section gt Section lt section gt lt section class section gt Section lt section gt lt section class section gt Section lt section gt lt main gt So i created a header with a button and a navigation list Button has span tags which i will use to create the bars for hamburger icon Navigation has links as list items which will be our navbar CSS margin padding ul list style none a text decoration none body background color ad Some css reseting at the start hamburger position fixed top px z index width px height px border none border radius px background color white display flex justify content center align items center flex direction column gap px cursor pointer bar display block width px height px background color black transition all s ease in out styling the hamburger button and setting it s position to fixed and z index to so it stays there even on scrolling and will be above other elements Setting the bar display to block and width and height manually to make it a bar Transition property will create a smooth transition when we change the hamburger to cross icon on button click hamburger active bar transform rotate deg translate px px hamburger active bar transform rotate deg translate px px hamburger active bar opacity Here we are saying if the hamburger button has an active class then rotate the bar to degree and translate it little bit towards center same for bar but with negative degree and translated it towards center these two will make a cross sign bar opacity will hide the middle bar and only shows the first and third bar which makes a cross The active class will be toggled with javascript So the cross sign will be created when we add the active class with javascript Navigation part navigation position fixed top px display flex flex direction column gap rem align items center padding rem rem rem background color rgb color white width rem border radius px transform translateX transition all s linear Styling the navigation list the transform translateX will move the navbar towards left side and make it hidden out of screen we will toggle this with javascript via hamburger icon so it will come to screen when we click the hamburger icon transition will make it smooth and looks like it is sliding into the screen from left side Also making it s position to fixed same as hamburger so it will be on the viewport all the time even on scrolling visible navbar transform translateX We will be adding and removing this class using javascript when the hamburger icon is clicked It is used to show and hide the navbar media screen and min width px navigation flex direction row width justify content center top padding top rem border radius hamburger display none media query with min width will make the navbar visible for the desktop screen and will hide the hamburger icon at px viewport Javascript const hamburger document querySelector hamburger const navbar document querySelector navigation hamburger addEventListener click gt hamburger classList toggle active navbar classList toggle visible navbar For the auto resizing the pageconst changingMediaQuery gt if window innerWidth gt hamburger classList remove active navbar classList add visible navbar else navbar classList remove visible navbar window addEventListener resize changingMediaQuery Accessing the hamburger and navbar using querySelector Attaching a click event on the hamburger button and inside it toggling the active class for the hamburger icon which will make a cross sign and also toggling the visible navbar class which will slide the navbar into the viewport changingMediaQuery function is used to set the hamburger icon hidden and navbar visible if the user changes the screen size from rotation or using browser shrinkingif the shrinking is from large to small device then apply the else part and hide the navbar Codepen THANK YOU FOR CHECKING THIS POSTYou can contact me on Instagram LinkedIn Email shubhmtiwri gmail com You can help me by some donation at the link below Thank you gt lt Also check these posts as well |
2022-12-12 10:48:40 |
海外TECH |
Engadget |
Xiaomi's 13 Pro is an early look at 2023's flagship phones |
https://www.engadget.com/xiaomi-13-pro-type-1-snapdragon-8-gen-2-101000001.html?src=rss
|
Xiaomi x s Pro is an early look at x s flagship phonesXiaomi s series flagship smartphones are here and as usual they re loaded with the latest technology and features With the and Pro Xiaomi is the second manufacturer to use Qualcomm s latest Snapdragon Gen platform following Vivo with the X Pro and IQOO series They also have new camera modules with improved image quality ultra fast charging and more nbsp As with the previous models the Xiaomi and Pro have separate designs The Pro uses a wrap around inch K AMOLED screen x with vegan leather or ceramic back versions Meanwhile the has a flat inch x AMOLED display iPhone like aluminum sides and either glass or leather back options The Snapdragon Gen mobile platform offers hardware accelerated ray tracing and improved gaming performance so both phones have Hz displays to keep up XiaomiThe Xiaomi Pro has top flight camera specs too It packs a megapixel MP f main camera with a Type inch sensor like other Type inch sensors it s really only x mm but still significantly larger than with most smartphones It also includes a MP zoom camera mm equivalent with optical image stabilization OIS and a floating lens as pictured above Finally it has a MP f ultra wide camera mm equivalent and MP punch hole selfie cam nbsp The Xiaomi below meanwhile has the same selfie camera a MP f OIS main camera with a smaller sensor a MP x zoom OIS zoom camera and a megapixel ultra wide mm equivalent camera Xiaomi XiaomiThe Pro offers impressive W charging more than many laptops bringing the mAh battery from zero to a percent charge in just minutes That s fast but still significantly slower than Redmi s Note Discovery Edition Wireless charging happens at quot just quot watts or minutes to a full charge The Xiaomi has a slightly smaller mAh battery and is limited to W wired charging minutes to percent and W wireless charging minutes to a full charge nbsp Other features include LPDDRX RAM and UFS storage on both models GB and GB up to GB and GB on both models Dolby Atmos on the Pro model and Leica camera tech For the latter Xiaomi and Leica built a color model based on scenes presumably allowing for improved accuracy Prices start at yuan for the Xiaomi Pro and yuan for the Xiaomi Those are seriously good prices for such high spec phones but as usual you likely won t be able to buy them in North America nbsp |
2022-12-12 10:10:00 |
ラズパイ |
Raspberry Pi |
Computational thinking all year round with UK Bebras |
https://www.raspberrypi.org/blog/computational-thinking-resources-uk-bebras-2022/
|
Computational thinking all year round with UK BebrasThis November teachers across the UK helped learners participate in the annual free UK Bebras Challenge of computational thinking We support this challenge in the UK together with Oxford University and Bebras Challenges run across the world with more than million learners from schools in countries taking part in Bebras encourages The post Computational thinking all year round with UK Bebras appeared first on Raspberry Pi |
2022-12-12 11:00:10 |
医療系 |
医療介護 CBnews |
医療用コロナ・インフル同時検査キット、薬局販売容認-丁寧な説明など義務付け、厚労省 |
https://www.cbnews.jp/news/entry/20221212184727
|
厚生労働省 |
2022-12-12 19:10:00 |
金融 |
金融庁ホームページ |
入札公告等を更新しました。 |
https://www.fsa.go.jp/choutatu/choutatu_j/nyusatu_menu.html
|
公告 |
2022-12-12 11:00:00 |
ニュース |
BBC News - Home |
Solihull: Ice fall children critical as lake search continues |
https://www.bbc.co.uk/news/uk-england-birmingham-63941050?at_medium=RSS&at_campaign=KARANGA
|
continuesfour |
2022-12-12 10:52:24 |
ニュース |
BBC News - Home |
Dozens spend night in pub amid heavy snowfall |
https://www.bbc.co.uk/news/uk-england-63941122?at_medium=RSS&at_campaign=KARANGA
|
burwash |
2022-12-12 10:49:01 |
ニュース |
BBC News - Home |
EU corruption charges 'very very worrisome', says foreign policy chief |
https://www.bbc.co.uk/news/world-europe-63941509?at_medium=RSS&at_campaign=KARANGA
|
european |
2022-12-12 10:45:44 |
ニュース |
BBC News - Home |
UK economy will get worse before it gets better, warns chancellor |
https://www.bbc.co.uk/news/business-63891327?at_medium=RSS&at_campaign=KARANGA
|
challenging |
2022-12-12 10:46:08 |
ニュース |
BBC News - Home |
When are the train strikes and what is the dispute about? |
https://www.bbc.co.uk/news/business-61634959?at_medium=RSS&at_campaign=KARANGA
|
january |
2022-12-12 10:19:57 |
ニュース |
BBC News - Home |
Pakistan v England: Tourists win thriller to seal first series victory in country in 22 years |
https://www.bbc.co.uk/sport/cricket/63936216?at_medium=RSS&at_campaign=KARANGA
|
Pakistan v England Tourists win thriller to seal first series victory in country in yearsEngland pull off another sensational victory in Pakistan winning the second Test by runs to seal a historic series triumph |
2022-12-12 10:22:24 |
ニュース |
BBC News - Home |
England manager Gareth Southgate 'conflicted' about future after World Cup 2022 exit |
https://www.bbc.co.uk/sport/football/63939239?at_medium=RSS&at_campaign=KARANGA
|
England manager Gareth Southgate x conflicted x about future after World Cup exitEngland manager Gareth Southgate says he is conflicted about his future having found large parts of the last months difficult |
2022-12-12 10:19:00 |
コメント
コメントを投稿