Opacity reduction script does not working

I have a problem with a script that until recently worked, but now seems not to want to work. I want to reduce the opacity of the green spheres when scrolling down, it seems to be working until recently, but now I can’t figure out what the problem is. The website is this: https://attiliosantomo.com/PROVA/ The… Read More Opacity reduction script does not working

Javascript to dynamically select based on another query

I am working with a svg element as following const src = [{ “Name”: “Australia”, “Year”: 1997, “Value”: 15.540540540540499 }, { “Name”: “Australia”, “Year”: 1998, “Value”: 15.540540540540499 }, { “Name”: “Australia”, “Year”: 1999, “Value”: 22.4489795918367 }, { “Name”: “Brunei”, “Year”: 1998, “Value”: 6.4516129032258096 }, { “Name”: “Brunei”, “Year”: 2017, “Value”: 9.0909090909090899 }, { “Name”: “Brunei”,… Read More Javascript to dynamically select based on another query

WPF Control Style of Button not detecting IsMouseOver

So am trying to create button style (background opacity to black with 20% alpha and default colour of text changes to clear white) with using ResourceDictionary. I do include file into App.xaml like: <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Style/ButtonStyles.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> and to button am applying x:Key Style="{StaticResource TopBarButtons}" so my style of it looks like (random… Read More WPF Control Style of Button not detecting IsMouseOver

CSS: menu icon animation

Why this code doesn’t work for me totally? No animation or effect when I press it on the browser. This is HTML snippet: <!– Menu Bars –> <div class="menu-bars" id="menu-bars"> <div class="bar1"></div> <div class="bar2"></div> <div class="bar3"></div> </div> The CSS snippet: .menu-bars { position: fixed; top: 1rem; right: 2rem; display: inline-block; cursor: pointer; z-index: 11; }… Read More CSS: menu icon animation