...is the way to "go to definition" and open a new tab with that type's file.
Wednesday, April 4, 2018
scroll through the tabs in Visual Studio Code 1.17.2
When you have lots of tabs open in Visual Studio Code 1.17.2 just position your mouse over one of the tabs and then scroll the scrollwheel. The tabs will scroll left and right to help you find what you are looking for.
CSS ribbons?
When would you ever use them? Well, I used this stuff for the first time today to make an element that jutted out a little bit to the left of the items above and below it appear to wrap around its neighbors at the left some.
.active-not-last:before {
content:"";
position:absolute;
left:-1px;
width:0;
height:0;
top: calc(100% + 1px);
border-right:8px solid #DADADB;
border-bottom:8px solid transparent;
}
drop-shadow versus box-shadow in CSS
How is...
filter: drop-shadow(30px 10px 4px #4444dd);
...better than:
box-shadow: 30px 10px 4px #4444dd;
Well this says drop-shadow works better with irregular, not rectangular, shapes.
a variant on the ::ng-deep trick in Angular 4 applications
my-selector-tag-for-my-nested-component/deep/ul {
background-color: green;
}
Does CORS need to be opened up for specific browsers?
No never! I have a friend who ran into a situation in which she could POST to a REST endpoint in C# from an Angular 5 app only in Edge, but in her case she just needed to add application/x-www-form-urlencoded as a header to support other browsers.
git branch -d myBranchName
...deletes a branch in the Git Bash way of doing things via the Git Bash command line.