ni Nifty Prediction Today – November 11, 2024: Resistance ahead. Go short on a rise By www.thehindubusinessline.com Published On :: Mon, 11 Nov 2024 10:34:37 +0530 Nifty 50 November Futures contract can fall to 23,900 Full Article Technical Analysis
ni Bank Nifty Prediction Today – November 11, 2024: Wait for dips to go long By www.thehindubusinessline.com Published On :: Mon, 11 Nov 2024 11:17:11 +0530 Bank Nifty November Futures can rise to 52,500 if the bounce sustains Full Article Technical Analysis
ni Day trading guide for November 12, 2024: Intraday supports, resistances for Nifty50 stocks By www.thehindubusinessline.com Published On :: Tue, 12 Nov 2024 06:07:00 +0530 Here are the intraday supports and resistances for widely traded stocks such as Reliance Industries, ITC, ONGC, Infosys, HDFC Bank, TCS, and SBI Full Article Day trading guide
ni Inherit, initial, unset, revert By www.quirksmode.org Published On :: Wed, 02 Jun 2021 11:55:44 +0100 Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords. The first three were defined in the Cascading Level 3 spec, while revert was added in Cascading Level 4. Despite 4 still being in draft revert is already supported. See also the MDN revert page, Chris Coyier’s page, and my test page inherit The inherit keyword explicitly tells an element that it inherits the value for this declaration from its parent. Let’s take this example: .my-div { margin: inherit; } .my-div a { color: inherit; } The second declaration is easiest to explain, and sometimes actually useful. It says that the link colour in the div should be the same as the text colour. The div has a text colour. It’s not specified here, but because color is inherited by default the div gets the text color of its parent. Let’s say it’s black. Links usually have a different colour. As a CSS programmer you frequently set it, and even if you don’t browsers automatically make it blue for you. Here, however, we explicitly tell the browsers that the link colour should be inherited from its parent, the div. In our example links become black. (Is this a good idea? Occasionally. But if you remove the colour difference between links and main text, make sure your links are underlined. Your users will thank you.) Now let’s look at the margin: inherit. Normally margins don’t inherit, and for good reason. The fact that an element has margin-left: 10% does not mean all of its descendents should also get that margin. In fact, you most likely don’t want that. Margins are set on a per-case basis. This declaration tells the div to use the margin specified on its parent, however. This is an odd thing to specify, and I never saw a practical use case in the wild. Still CSS, being ridiculously powerful, allows it. In any case, that’s how the inherit keyword works. Using it for font sizes or colours may occasionally be a good idea. In other contexts - rarely. And keep the difference between inheriting and non-inheriting properties in mind. It’s going to be important later on. initial The initial keywords sets the property back to its initial value. This is the value specified in the W3C specification for that property. Initial values from the spec are a bit of a mixed bag. Some make sense, others don’t, really. float: none and background-color: transparent are examples of the first category. Of course an element does not have a background colour without you specifying one, nor does it float automatically. Others are historically determined, such as background-repeat: repeat. Back in the Stone Age before CSS all background images repeated, and the CSS1 specification naturally copied this behaviour. Still others are essentially arbitrary, such as display: inline. Why did W3C opt for inline instead of block? I don’t know, and it doesn’t really matter any more. They had to decide on an initial value, and while inline is somewhat strange, block would be equally strange. In any case, the initial keyword makes the property revert to this initial value from the specification, whether that makes sense or not. unset When we get to the unset value the distinction between inheriting and non-inheriting properties becomes important. unset has a different effect on them. If a property is normally inherited, unset means inherit. If a property is normally not inherited, unset means initial. revert revert, the newest of these keywords, also distinguishes between inheriting and non-inheriting properties. If a property is normally inherited, revert means inherit. If a property is normally not inherited, revert reverts to the value specified in the browser style sheet. all Finally, we should treat all. It is not a value but a property, or rather, the collection of all CSS properties on an element. It only takes one of the keywords we discussed, and allows you to apply that keyword to all CSS properties. For instance: .my-div { all: initial; } Now all CSS properties on the div are set to initial. Examples The reaction of my test page to setting the display of all elements to the four keywords is instructive. My test script sets the following style: body * { display: [inherit | initial | unset | revert] !important; } The elements react as follows: display: inherit: all elements now inherit their display value from the body. Since the body has display: block all elements get that value, whether that makes sense or not. display: initial: the initial value of display is inline. Therefore all elements get that value, whether that makes sense or not. display: unset: display does not inherit. Therefore this behaves as initial and all elements get display: inline. display: revert: display does not inherit. Therefore the defaults of the browser style sheet are restored, and each element gets its proper display — except for the dl, which I had given a display: grid. This value is now supplanted by the browser-provided block. Unfortunately the same test page also contains a riddle I don’t understand the behaviour of <button>s when I set color to the four keywords: color: inherit: all elements, including <button>s, now inherit their colour from the body, which is blue. So all text becomes blue. color: initial: since the initial value of color is black, all elements, including <button>s, become black. color: unset: color inherits. Therefore this behaves as inherit and all elements, including <button>s, become blue. color: revert: This is the weird one. All elements become blue, except for <button>s, which become black. I don’t understand why. Since colors inherit, I expected revert to work as inherit and the buttons to also become blue. But apparently the browser style sheet of button {color: black} (more complicated in practice) is given precedence. Yes, revert should remove author styles (the ones we write), and that would cause the black from the browser style sheet to be applied, but only if a property does not inherit — and color does. I don’t know why the browser style sheet is given precedence in this case. So I’m going to cop out and say form elements are weird. Practical use: almost none The purpose of both unset and revert is to wipe the slate clean and return to the initial and the browser styles, respectively — except when the property inherits; in that case, inheritance is still respected. initial, meanwhile, wipes the slate even cleaner by also reverting inheriting properties to their initial values. This would be useful when you create components that should not be influenced by styles defined elsewhere on the page. Wipe the slate clean, start styling from zero. That would help modularisation. But that’s not how these keywords work. We don’t want to revert to the initial styles (which are sometimes plain weird) but to the browser style sheet. unset comes closest, but it doesn’t touch inherited styles, so it only does half of what we want. So right now these keywords are useless — except for inherit in a few specific situations usually having to do with font sizes and colours. New keyword: default Chris Coyier argues we need a new value which he calls default. It reverts to the browser style sheet in all cases, even for inherited properties. Thus it is a stronger version of revert. I agree. This keyword would be actually useful. For instance: .my-component,.my-component * { all: default; font-size: inherit; font-family: inherit; color: inherit; } Now we have a component that’s wiped clean, except that we decide to keep the fonts and colour of the main page. The rest is a blank slate that we can style as we like. That would be a massive boon to modularisation. New keyword: cascade For years now I have had the feeling that we need yet another keyword, which I’ll call cascade for now. It would mean “take the previous value in the cascade and apply it here.” For instance: .my-component h2 { font-size: 24px; } .my-other-component h2 { font-size: 3em; } h2#specialCase { font-size: clamp(1vw,cascade,3vw) } In this (slightly contrived) example I want to clamp the font-size of a special h2 between 1vw and 3vw, with the preferred value being the one defined for the component I’m working in. Here, cascade would mean: take the value the cascade would deliver if this rule didn’t exist. This would make the clamped font size use either 24px or 3em as its preferred value, depending on which component we’re in. The problem with this example is that it could also use custom properties. Just set --h2size to either 24px or 3em, use it in the clamp, and you’re done. .my-component h2 { --h2size: 24px; font-size: var(--h2size); } .my-other-component h2 { --h2size: 3em; font-size: var(--h2size); } h2#specialCase { font-size: clamp(1vw,var(--h2size),3vw) } Still, this is but the latest example I created. I have had this thought many, many times, but because I didn’t keep track of my use cases I’m not sure if all of them could be served by custom properties. Also, suppose you inherit a very messy CSS code base with dozens of components written at various skill levels. In that case adding custom properties to all components might be impractical, and the cascade keyword might help. Anyway, I barely managed to convince myself, so professional standard writers will certainly not be impressed. Still, I thought I’d throw it out here to see if anyone else has a use case for cascade that cannot be solved with custom properties. Full Article CSS for JavaScripters
ni Redefining inclusivity By www.thehindu.com Published On :: Fri, 14 Jul 2023 01:25:17 +0530 Blind Bake and The Echoes are unique cafes that provide employment to specially abled people Full Article Food
ni Nirdiganta: A first-of-its-kind incubation centre for theatre By www.thehindu.com Published On :: Fri, 14 Jul 2023 11:42:03 +0530 Actor Prakash Raj’s innovative incubator for theatre and arts offers a comprehensive production process, stipends for actors/techs, lodging, kitchen and tech support. It also plans to promote fine arts and film in the future. Full Article Metroplus
ni Prakash Raj on creating ‘Nirdiganta’, an incubation centre for theatre, and getting back on stage By www.thehindu.com Published On :: Fri, 14 Jul 2023 11:55:55 +0530 Actor Prakash Raj says fans will soon get to see him perform live on stage Full Article Metroplus
ni Govt. hiding behind private firm instead of solving Dharani issues: Kishan Reddy By www.thehindu.com Published On :: Tue, 18 Jul 2023 00:04:39 +0530 Full Article Telangana
ni IISc study reveals that picolinic acid can block viruses causing SARS-CoV-2 and influenza A By www.thehindu.com Published On :: Tue, 18 Jul 2023 13:09:23 +0530 The study describes the compound’s remarkable ability to disrupt the entry of enveloped viruses into the host’s cell and prevent infection Full Article Bangalore
ni Ruhani Sharma: I play a close-to-reality cop in ‘HER’; there is no scope for ‘Singham’ style of histrionics By www.thehindu.com Published On :: Tue, 18 Jul 2023 19:06:24 +0530 Ruhani Sharma talks about headlining the Telugu cop drama franchise ‘HER’, says she never imagined herself as a sharpshooter Full Article Movies
ni Director Sai Rajesh: ‘Baby’ has been a learning experience; henceforth I will be more cautious in my writing By www.thehindu.com Published On :: Wed, 19 Jul 2023 16:16:44 +0530 Sai Rajesh, the writer-director of the Telugu romantic drama ‘Baby’ that has been eliciting extreme responses, says he did not intend to make a toxic film Full Article Movies
ni Congress leaders project a united stand from Komatireddy’s luncheon meeting By www.thehindu.com Published On :: Thu, 20 Jul 2023 06:45:45 +0530 Bus yatra and more interactions with people suggested Full Article Telangana
ni NIA arrests man from Hyderabad in connection with terror module By www.thehindu.com Published On :: Wed, 02 Aug 2023 05:58:00 +0530 Full Article Telangana
ni A silver lining for the jewellery makers By www.thehindu.com Published On :: Thu, 10 Aug 2023 21:25:23 +0530 Delhi school girl Rhea Bakshi’s documentary on the plight of silver jewellery artisans in India bags honours at the New York International Film Awards NYIFA finalist Rhea Bakshi talks about her documentary and the struggle for an inclusive economy. Full Article Delhi
ni Parental behaviour closely associated with adolescents’ excessive Internet use, finds NIMHANS study By www.thehindu.com Published On :: Sat, 12 Aug 2023 12:59:15 +0530 The study showed that decreased care and increased control from the mother, high autonomy from father and increased rejection from both parents as risk factors associated with adolescent internet excessive use Full Article Health
ni Govt to constitute high-level committee to monitor implementation of crop loan waiver, says Harish Rao By www.thehindu.com Published On :: Tue, 22 Aug 2023 07:44:04 +0530 CM announced unconditional crop loan waiver twice unlike other States, he said Full Article Telangana
ni Director Shiva Nirvana: ‘Kushi’ will discuss something beyond post-marriage romance, which we have not revealed in the trailer By www.thehindu.com Published On :: Tue, 29 Aug 2023 16:34:18 +0530 Ahead of the release of Vijay Deverakonda and Samantha Ruth Prabhu’s ‘Kushi’, director Shiva Nirvana opens up on the Mani Ratnam influence and how he was never inclined to direct romances initially Full Article Movies
ni Ram Pothineni, Boyapati Sreenu’s ‘Skanda’ gets a new release date By www.thehindu.com Published On :: Wed, 06 Sep 2023 16:34:21 +0530 Director Boyapati Sreenu’s ‘Skanda’ headlined by Ram Pothineni, has opted for a new release date, as the buzz of the postponement of Prashanth Neel’s ‘Salaar’ starring Prabhas grows louder Full Article Movies
ni Director Vassishta: The audience can expect to see Chiranjeevi in an entertaining fantasy film like ‘Jagadeka Veerudu Athiloka Sundari’ By www.thehindu.com Published On :: Fri, 22 Sep 2023 15:28:05 +0530 Director Vassishta opens up on his next film starring Chiranjeevi and says it will be a fantasy entertainer, steeped in visual effects, in which the superstar will play a mature character befitting his stature and age Full Article Movies
ni New menu of Chettinad Canteen in Coimbatore features kavuni arisi appam, bun parotta and more By www.thehindu.com Published On :: Tue, 12 Dec 2023 16:36:42 +0530 From feather-light ‘kavanarisi appam’ in coconut milk and ‘kuzhi paniyaram’ served with ‘pepper kaadai’ to the classic ‘adi kumayam’ in ice cream, what makes this new menu tick at the Chettinad Canteen Full Article Features
ni Gauri Khan shares designs secrets from her latest project, the Falguni Shane Peacock store in Kolkata By www.thehindu.com Published On :: Fri, 08 Dec 2023 16:07:08 +0530 This is the third store that Gauri Khan has designed for FSP, after Mumbai and Hyderabad Full Article Fashion
ni How Bloom In Green festival is attempting to spread the message of community and conscious living By www.thehindu.com Published On :: Tue, 12 Dec 2023 14:47:14 +0530 Krishnagiri is set to host the fourth edition Bloom In Green festival from December 15 to 18 Full Article Music
ni Run among the skies: Balloon Run Marathon highlights TNIBF 2024 By www.thehindu.com Published On :: Sat, 06 Jan 2024 11:24:39 +0530 In its ninth edition this year, the festival is expected to draw at least 40,000 visitors, indicating a shift in destination tourism Full Article Coimbatore
ni Araku Pinery, a new community-based eco-tourism project near Visakhapatnam By www.thehindu.com Published On :: Thu, 11 Jan 2024 19:07:09 +0530 Enjoy misty winter mornings with a warm cup of coffee at Araku Pinery, a new eco-tourism project by the AP Forest Department in Anjoda, located at a distance of about 130 kilometres from Visakhapatnam Full Article Travel
ni Ministry of Tourism promotes lesser-known tourist attractions By www.thehindu.com Published On :: Sat, 13 Jan 2024 20:42:10 +0530 They include wetlands such as Sultanpur in Haryana, places of mythological significance such as Kurukshetra in Haryana, and cultural heritage sites such as Vijayawada in Andhra Pradesh Full Article India
ni Experience a slice of tribal life at Giri Grama Darshini, a tourism project near Visakhapatnam By www.thehindu.com Published On :: Fri, 26 Jan 2024 07:35:46 +0530 Get a peek of the adivasi culture at Giri Grama Darshini, a tourism project by ITDA and Pedalabudu Eco Tourism Society Full Article Travel
ni The AlUla trump card | How Saudi Arabia is reopening the Incense Road By www.thehindu.com Published On :: Fri, 09 Feb 2024 16:12:07 +0530 Immersive museums, historic digs and a heterogeneous workforce are helping pave the way as Saudi Arabia pivots from a carbon-based economy to a culture-focused one Full Article Travel
ni Spanish woman gang rape case: Crimes against foreigners in India rarely result in convictions | Data By www.thehindu.com Published On :: Sat, 09 Mar 2024 09:30:00 +0530 Approximately, one in twenty rape cases in which victims are foreigners results in convictions Full Article Data
ni Experience diverse themes in photography in an exhibition in Andhra University By www.thehindu.com Published On :: Fri, 29 Mar 2024 13:29:17 +0530 A two-day exhibition by students of Diploma in Photography of Andhra University in Visakhapatnam unfolds diverse themes and creative vision Full Article Life & Style
ni Discover the hidden charm of Anija on the Odisha-Andhra border By www.thehindu.com Published On :: Fri, 19 Apr 2024 11:29:25 +0530 Explore a world of greens, caves and rivers at Anija village in the Rayagada district of Odisha Full Article Travel
ni Ronil Goa offers Bloody Marys with breakfast, and a DJ at the energy pool By www.thehindu.com Published On :: Fri, 31 May 2024 18:15:37 +0530 At Ronil Goa, India’s first JdV by Hyatt five-star resort, the old and the new blend in seamlessly, making space for high energy party seekers as well as guests in search of a quiet holiday Full Article Travel
ni Union Budget slashes Bengaluru Suburban Railway Project allocation by ₹100 crore By www.thehindu.com Published On :: Tue, 23 Jul 2024 21:20:17 +0530 The Union Budget allocates ₹350 crore for the BSRP, down from last year’s allocation of ₹450 crore Full Article Bengaluru
ni In the forests of the night | On the tiger’s trail in Ranthambhore National Park By www.thehindu.com Published On :: Fri, 01 Nov 2024 21:39:18 +0530 The national park is home to 80-odd Royal Bengal tigers. Our quest to see the big cat includes sighting baby langurs, chitals and a retreating leopard Full Article Travel
ni Chief Justice of Madras HC calls on Lt. Governor at Raj Nivas By www.thehindu.com Published On :: Sun, 20 Oct 2024 19:23:47 +0530 Full Article Puducherry
ni Scholars discuss transformative role of literature at conference held in Pondicherry University By www.thehindu.com Published On :: Sun, 20 Oct 2024 19:24:20 +0530 Full Article Puducherry
ni L-G hails contribution of defence forces in maintaining peace in the country By www.thehindu.com Published On :: Mon, 21 Oct 2024 23:55:17 +0530 Full Article Puducherry
ni AIADMK demands setting up of CBI unit in Puducherry By www.thehindu.com Published On :: Wed, 23 Oct 2024 19:32:22 +0530 Full Article Puducherry
ni Attempts to regulate Auroville’s functioning are met with resistance and litigation, says Madras HC By www.thehindu.com Published On :: Thu, 24 Oct 2024 11:33:21 +0530 Justice Anita Sumanth refuses to issue a writ of quo warranto against seven individuals representing the Working Committee of the Residents’ Assembly Full Article Tamil Nadu
ni Electricity Department to disconnect power supply to 22 plastic-manufacturing units By www.thehindu.com Published On :: Fri, 25 Oct 2024 22:41:29 +0530 Full Article Puducherry
ni Train services to and from Kanniyakumari cancelled due to rake shortage By www.thehindu.com Published On :: Sat, 26 Oct 2024 19:04:47 +0530 Full Article Puducherry
ni Union Minister Manohar Lal Khattar reviews execution of Central schemes in U.T. By www.thehindu.com Published On :: Sat, 26 Oct 2024 20:52:00 +0530 Full Article Puducherry
ni Government organisations take ‘Integrity Pledge’ By www.thehindu.com Published On :: Mon, 28 Oct 2024 20:46:31 +0530 Full Article Puducherry
ni Reopening of ration shops only a rhetoric, says former CM By www.thehindu.com Published On :: Mon, 28 Oct 2024 22:49:13 +0530 Full Article Puducherry
ni Senior IPS officers shuffled By www.thehindu.com Published On :: Tue, 29 Oct 2024 23:50:08 +0530 Full Article Puducherry
ni L-G, Home Minister felicitate SSP for performance in international event By www.thehindu.com Published On :: Wed, 30 Oct 2024 18:45:05 +0530 Full Article Puducherry
ni Initiative to impart innovative pedagogy to senior teachers in government schools By www.thehindu.com Published On :: Wed, 30 Oct 2024 19:13:32 +0530 Full Article Puducherry
ni Kalaignar sports kit scheme meant to create champions in rural Tamil Nadu, says Udhayanidhi Stalin By www.thehindu.com Published On :: Tue, 05 Nov 2024 22:56:41 +0530 Full Article Puducherry
ni Hindu Munnani workers stage protest over encroachment of govt. land by a religious group By www.thehindu.com Published On :: Wed, 06 Nov 2024 23:16:58 +0530 Full Article Puducherry
ni Private university in Tindivanam launches swipe card for students By www.thehindu.com Published On :: Wed, 06 Nov 2024 23:19:26 +0530 Full Article Puducherry
ni Pondicherry University introduces French translation of Kiran Bedi’s book By www.thehindu.com Published On :: Fri, 08 Nov 2024 21:01:02 +0530 Full Article Puducherry