Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
steve-wang-arb [2023/06/07 23:01] – renick | steve-wang-arb [2024/06/23 22:12] (current) – steve.wang | ||
---|---|---|---|
Line 8: | Line 8: | ||
Moreover, we could praise things in a way that would make them feel like fulfilling a particular need, rather than merely a want. For instance, if a salesperson can convince a customer that their product is a need, the customer may continue buying it. By controlling the reality (the information given) and the audience' | Moreover, we could praise things in a way that would make them feel like fulfilling a particular need, rather than merely a want. For instance, if a salesperson can convince a customer that their product is a need, the customer may continue buying it. By controlling the reality (the information given) and the audience' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | html { | ||
+ | display: none; /* Makes the image a block element */ | ||
+ | opacity: 0; /* Initially hides the image */ | ||
+ | transition: opacity 1s ease-in-out; | ||
+ | } | ||
+ | </ | ||
+ | < | ||
+ | document.addEventListener(" | ||
+ | document.documentElement.style.display = ' | ||
+ | setTimeout(() => { | ||
+ | document.documentElement.style.opacity = ' | ||
+ | }, 100) | ||
+ | }) | ||
+ | |||
+ | window.addEventListener(' | ||
+ | document.documentElement.style.opacity = ' | ||
+ | }) | ||
+ | </ | ||
+ | </ |